Bug 553543 - ConfigurationMetadataException thrown: " Invalid additional meta-data in 'META-INF/spring-configuration-metadata.json': End of input at character 0 of "
Summary: ConfigurationMetadataException thrown: " Invalid additional meta-data in 'MET...
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-27 09:50 EST by E B CLA
Modified: 2019-11-27 10:44 EST (History)
0 users

See Also:


Attachments
AJDT version (25.94 KB, image/png)
2019-11-27 09:50 EST, E B CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description E B CLA 2019-11-27 09:50:12 EST
Created attachment 280802 [details]
AJDT version

After upgrading Spring Tool Suite to version 3.9.7.RELEASE, to solve https://bugs.eclipse.org/bugs/show_bug.cgi?id=541800, the following is now thrown anytime a class file is edited and saved, the "Problem Occurred" modal appears and lists "'Building workspace has encountered a problem. Errors occurred during the build." and lists the following description:

Errors occurred during the build.
Errors running builder 'Java Builder' on project 'OVSR-Birth-Resource'.
Invalid additional meta-data in 'META-INF/spring-configuration-metadata.json': End of input at character 0 of 

The following stacktrace is from Eclipse's bug reporting feature:

org.springframework.boot.configurationprocessor.metadata.InvalidConfigurationMetadataException
at org.springframework.boot.configurationprocessor.MetadataStore.readMetadata(MetadataStore.java:92)
at org.springframework.boot.configurationprocessor.MetadataStore.readMetadata(MetadataStore.java:59)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.init(ConfigurationMetadataAnnotationProcessor.java:11 ... dConfigurationMetadataException thrown: Invalid additional meta-data in 'META-INF/spring-configuration-metadata.json': End of input at character 0 of 


Performing a Maven build (Alt-F5) builds the project normally. However hotcode replace no longer works and the Spring Boot (1.5) application must be restarted to see code changes.

I've attached a screenshot for the AJDT version as those listed in Eclipse installation don't match options in this ticket.  aspectjweaver version in the pom.xml is 1.8.13
Comment 1 E B CLA 2019-11-27 10:44:20 EST
I was able to correct this issue by performing mvn eclipse:clean