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 Jack Punt, 1 year ago
Object of class [japa.parser.ast.expr.NameExpr] must be an instance of class japa.parser.ast.expr.StringLiteralExpr
via Spring JIRA by Jack Punt, 2 years ago
Object of class [japa.parser.ast.expr.NameExpr] must be an instance of class japa.parser.ast.expr.StringLiteralExpr
java.lang.IllegalArgumentException: Object of class [japa.parser.ast.expr.NameExpr] must be an instance of class japa.parser.ast.expr.StringLiteralExpr	at org.springframework.roo.support.util.Assert.isInstanceOf(Assert.java:337)	at org.springframework.roo.support.util.Assert.isInstanceOf(Assert.java:319)	at org.springframework.roo.classpath.javaparser.details.JavaParserAnnotationMetadata.convert(JavaParserAnnotationMetadata.java:159)	at org.springframework.roo.classpath.javaparser.details.JavaParserAnnotationMetadata.(JavaParserAnnotationMetadata.java:98)	at org.springframework.roo.classpath.javaparser.JavaParserClassOrInterfaceTypeDetails.(JavaParserClassOrInterfaceTypeDetails.java:258)	at org.springframework.roo.classpath.javaparser.JavaParserClassOrInterfaceTypeDetails.(JavaParserClassOrInterfaceTypeDetails.java:297)	at org.springframework.roo.classpath.javaparser.JavaParserMutableClassOrInterfaceTypeDetails.(JavaParserMutableClassOrInterfaceTypeDetails.java:55)	at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.(JavaParserClassMetadata.java:69)	at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:163)	at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)	at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)	at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179)	at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:183)	at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)	at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)	at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:112)	at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199)	at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)	at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:141)	at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)	at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318)	at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:175)	at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:122)	at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:233)	at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:75)	at java.util.TimerThread.mainLoop(Timer.java:512)	at java.util.TimerThread.run(Timer.java:462)