[jbosstools-issues] [JBoss JIRA] (JBIDE-27151) Error occured processing 'com.example.demo.DemoApplication' after import Spring Starter Project

Stephane Bouchet (Jira) issues at jboss.org
Tue Apr 14 11:08:16 EDT 2020


     [ https://issues.redhat.com/browse/JBIDE-27151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Bouchet updated JBIDE-27151:
-------------------------------------
    Sprint: devex #182 Apr 2020


> Error occured processing 'com.example.demo.DemoApplication' after import Spring Starter Project
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-27151
>                 URL: https://issues.redhat.com/browse/JBIDE-27151
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.15.0.AM1
>            Reporter: Oleksii Korniienko
>            Assignee: Stephane Bouchet
>            Priority: Minor
>             Fix For: 4.15.0.Final
>
>
> After import there is an error in error log:
> org.springframework.core.annotation.AnnotationConfigurationException: Attribute 'proxyBeanMethods' in annotation [org.springframework.boot.SpringBootConfiguration] is declared as an @AliasFor nonexistent attribute 'proxyBeanMethods' in annotation [org.springframework.context.annotation.Configuration].; nested exception is java.lang.NoSuchMethodException: org.springframework.context.annotation.Configuration.proxyBeanMethods()
> 	at org.springframework.core.annotation.AnnotationUtils$AliasDescriptor.<init>(AnnotationUtils.java:2128)
> 	at org.springframework.core.annotation.AnnotationUtils$AliasDescriptor.from(AnnotationUtils.java:2095)
> 	at org.springframework.core.annotation.AnnotationUtils.getAttributeAliasNames(AnnotationUtils.java:1751)
> 	at org.springframework.core.annotation.AnnotationUtils.isSynthesizable(AnnotationUtils.java:1710)
> 	at org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(AnnotationUtils.java:1493)
> 	at org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotationArray(AnnotationUtils.java:1597)
> 	at org.springframework.core.annotation.AnnotationUtils.getAnnotations(AnnotationUtils.java:231)
> 	at org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor.visitEnd(AnnotationAttributesReadingVisitor.java:76)
> 	at org.springframework.asm.ClassReader.readAnnotationValues(ClassReader.java:2020)
> 	at org.springframework.asm.ClassReader.accept(ClassReader.java:676)
> 	at org.springframework.asm.ClassReader.accept(ClassReader.java:527)
> 	at org.springframework.ide.eclipse.core.java.classreading.JdtConnectedMetadataReader.<init>(JdtConnectedMetadataReader.java:45)
> 	at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:53)
> 	at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38)
> 	at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig.registerBean(BeansJavaConfig.java:368)
> 	at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$2.call(BeansJavaConfig.java:229)
> 	at org.springframework.ide.eclipse.beans.core.internal.model.BeansJavaConfig$2.call(BeansJavaConfig.java:1)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NoSuchMethodException: org.springframework.context.annotation.Configuration.proxyBeanMethods()
> 	at java.lang.Class.getDeclaredMethod(Class.java:2130)
> 	at org.springframework.core.annotation.AnnotationUtils$AliasDescriptor.<init>(AnnotationUtils.java:2121)
> 	... 22 more



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbosstools-issues mailing list