Error when using XmlBeans generated classes

后端 未结 5 2264
刺人心
刺人心 2021-02-20 09:43

I\'ve generated classes with XMLBeans from an xsd file and packed them in a jar file. then I\'ve added that jar to the project classpath in eclipse and everything compiles and r

5条回答
  •  梦如初夏
    2021-02-20 10:22

    Please add below tag in pom.xml. Error wil go

            
            
            
                org.apache.maven.plugins
                maven-dependency-plugin
                2.1
                
                    
                        copy
                        process-resources
                        
                            copy
                        
                        
                            
                                
                                    org.apache.openejb
                                    openejb-javaagent
                                    3.0-beta-2
                                    ${project.build.directory}
                                
                            
                        
                    
                
            
        
        
            
                target/generated-sources/axis2/wsdl2code/resources
            
            
                target/generated-sources/xmlbeans/resources
            
            
                src/main/resources
            
        
    
    

提交回复
热议问题