Problem Description:
After checking out the project in SVN, there are more compilation problems, and after checking out, the exported jar package is not recognized in the code. However, on the colleague's computer to repeat my previous actions, found that everything is normal. I suspect a configuration file on my computer is wrong.
Workaround:
After detection, there is a problem with a file. Then, locate the file that contains the Wb-resource deploy-path field directly in the project file, copy the contents of the colleague's host that contains the field to the appropriate location, and then refresh the project in Eclipse, problem solving
Field Contents:
<?xml version= "1.0" encoding= "UTF-8"?>
<project-modules id= "Modulecoreid" project-version= "1.5.0" >
<wb-module deploy-name= "Ticket2" >
<wb-resource deploy-path= "/" source-path= "/webcontent"/> Difference field
<wb-resource deploy-path= "/web-inf/classes" source-path= "/src"/>
<wb-resource deploy-path= "/web-inf/classes" source-path= "/src_config"/>
<wb-resource deploy-path= "/web-inf/classes" source-path= "/test_src"/>
<dependent-module deploy-path= "/web-inf/lib" handle= "Module:/resource/dbutil/dbutil" >
<dependency-type>uses</dependency-type>
</dependent-module>
<property name= "Context-root" value= "Ticket2"/>
<property name= "Java-output-path" value= "build/classes"/>
</wb-module>
</project-modules>
Detection of items in eclipse from SVN does not recognize jar package