Bad service configuration file, or exception thrown while constructing Processor object

后端 未结 4 1851
难免孤独
难免孤独 2021-02-20 06:23

I am writing a simple custom annotation in Java and running into a problem with it. Here is the main parts of my code.

LogMeCustomAnnotation.java

4条回答
  •  臣服心动
    2021-02-20 06:30

    Ok. Found the issue. Earlier my pom.xml had the proc:none line commented out. Now that I have got it back in action it is compiling fine. I need to find out exactly what this line does, but the answer to my question is just put the proc:none back in game. This is how the build section of my pom.xml looks now.

    
        
            
                
                org.apache.maven.plugins
                maven-compiler-plugin
                3.5.1
                
                    1.8
                    1.8
                    
                    -proc:none
                
            
        
    
    

提交回复
热议问题