java.lang.UnsupportedOperationException

Unable to parse annotation attribute 'value' due to unsupported annotation expression 'japa.parser.ast.expr.EnclosedExpr'

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web999

  • via Spring JIRA by Gerolf Scherr, 1 year ago
    Unable to parse annotation attribute 'value' due to unsupported annotation expression 'japa.parser.ast.expr.EnclosedExpr'
  • via Spring JIRA by Gerolf Scherr, 1 year ago
    Unable to parse annotation attribute 'value' due to unsupported annotation expression 'japa.parser.ast.expr.EnclosedExpr'
  • via sourceforge.net by Unknown author, 1 year ago
    Cannot write indexes of this type due to unsupported collating sort order SortOrder for text index
  • Stack trace

    • java.lang.UnsupportedOperationException: Unable to parse annotation attribute 'value' due to unsupported annotation expression 'japa.parser.ast.expr.EnclosedExpr' at org.springframework.roo.classpath.javaparser.details.JavaParserAnnotationMetadataBuilder.convert(JavaParserAnnotationMetadataBuilder.java:612) at org.springframework.roo.classpath.javaparser.details.JavaParserAnnotationMetadataBuilder.<init>(JavaParserAnnotationMetadataBuilder.java:430) at org.springframework.roo.classpath.javaparser.details.JavaParserAnnotationMetadataBuilder.getInstance(JavaParserAnnotationMetadataBuilder.java:370) at org.springframework.roo.classpath.javaparser.details.JavaParserMethodMetadataBuilder.<init>(JavaParserMethodMetadataBuilder.java:404) at org.springframework.roo.classpath.javaparser.details.JavaParserMethodMetadataBuilder.getInstance(JavaParserMethodMetadataBuilder.java:306) at org.springframework.roo.classpath.javaparser.details.JavaParserClassOrInterfaceTypeDetailsBuilder.build(JavaParserClassOrInterfaceTypeDetailsBuilder.java:315) 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.TypeLocationServiceImpl.lookupClassOrInterfaceTypeDetails(TypeLocationServiceImpl.java:597) at org.springframework.roo.classpath.TypeLocationServiceImpl.cacheType(TypeLocationServiceImpl.java:157) at org.springframework.roo.classpath.TypeLocationServiceImpl.initTypeMap(TypeLocationServiceImpl.java:573) at org.springframework.roo.classpath.TypeLocationServiceImpl.updateTypeCache(TypeLocationServiceImpl.java:714) at org.springframework.roo.classpath.TypeLocationServiceImpl.getTypeDetails(TypeLocationServiceImpl.java:499) at org.springframework.roo.addon.gwt.scaffold.GwtScaffoldMetadataProviderImpl.notify(GwtScaffoldMetadataProviderImpl.java:282) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:323) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:237) at org.springframework.roo.classpath.DefaultPhysicalTypeMetadataProvider.onFileEvent(DefaultPhysicalTypeMetadataProvider.java:186) 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.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:39) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:283) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:258) at org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:37) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:182) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.