java.lang.IllegalArgumentException: Compilation unit package 'com.test.Test1a' unexpected for type 'com.test'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Gerolf Scherr, 1 year ago
Compilation unit package 'com.test.Test1a' unexpected for type 'com.test'
via Spring JIRA by Gerolf Scherr, 1 year ago
Compilation unit package 'com.test.Test1a' unexpected for type 'com.test'
via GitHub by sharkck
, 1 year ago
Integer is too big for 4 bytes
java.lang.IllegalArgumentException: Compilation unit package 'com.test.Test1a' unexpected for type 'com.test'
at org.springframework.roo.classpath.javaparser.details.JavaParserClassOrInterfaceTypeDetailsBuilder.build(JavaParserClassOrInterfaceTypeDetailsBuilder.java:178)
at org.springframework.roo.classpath.javaparser.details.JavaParserClassOrInterfaceTypeDetailsBuilder.build(JavaParserClassOrInterfaceTypeDetailsBuilder.java:336)
at org.springframework.roo.classpath.javaparser.details.JavaParserClassOrInterfaceTypeDetailsBuilder.build(JavaParserClassOrInterfaceTypeDetailsBuilder.java:336)
at org.springframework.roo.classpath.javaparser.JavaParserTypeParsingService.getTypeFromString(JavaParserTypeParsingService.java:139)
at org.springframework.roo.classpath.javaparser.JavaParserTypeParsingService.getTypeAtLocation(JavaParserTypeParsingService.java:118)
at org.springframework.roo.classpath.DefaultPhysicalTypeMetadataProvider.get(DefaultPhysicalTypeMetadataProvider.java:94)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:214)
at org.springframework.roo.metadata.DefaultMetadataService.evictAndGet(DefaultMetadataService.java:121)
at org.springframework.roo.classpath.DefaultPhysicalTypeMetadataProvider.onFileEvent(DefaultPhysicalTypeMetadataProvider.java:183)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:429)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:642)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:280)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:235)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:152)
at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:197)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

2 times, 8 months ago
54 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.