Detection of items in eclipse from SVN does not recognize jar package

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.