facebook

Upgrading ME4s Web Project from 9.1 to 10 does not work

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #322496 Reply

    Peter
    Member

    Hi, I have downloaded and installed version 10 from the installer. I open my ME4S9.1 Workspace, it asks me to upgrade, but when i do there are heaps of errors. the classpaths file has changed and is missing jars. I have tried this multiple times. Not sure why this is happening. quite frustrating…any ideas?

    #322527 Reply

    Peter
    Member

    More info…

    It changed my classpath file from

    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry excluding="main/resources/|main/java/" kind="src" output="WebRoot/WEB-INF/classes" path="src"/>
        <classpathentry kind="src" path="misc"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
        <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
        <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
        <classpathentry kind="src" path="src/main/resources"/>
        <classpathentry kind="src" path="src/main/java"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/supercsv-1.20.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/quartz-1.8.5/quartz-1.8.5/quartz-all-1.8.5.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/spring-security-3.1.0.RC3/dist/spring-security-config-3.1.0.RC3.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/spring-security-3.1.0.RC3/dist/spring-security-core-3.1.0.RC3.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/spring-security-3.1.0.RC3/dist/spring-security-taglibs-3.1.0.RC3.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/spring-security-3.1.0.RC3/dist/spring-security-web-3.1.0.RC3.jar"/>
        <classpathentry kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/edtftpj-pro-2.1.2/lib/edtftpj-pro.jar"/>
        <classpathentry kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/joda-time-hibernate-1.2/joda-time-hibernate-1.2.jar"/>
        <classpathentry kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/ibatis-2.3.4.726/lib/ibatis-2.3.4.726.jar"/>
        <classpathentry kind="lib" path="C:/Users/Peter/Development/Tech/Programming/Java/APIs/postgresql-9.1-901.jdbc4.jar"/>
        <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
    </classpath>
    

    to

    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry including="**/*.java" kind="src" output="WebRoot/WEB-INF/classes" path="src"/>
        <classpathentry kind="src" path="misc"/>
        <classpathentry kind="src" path="src/main/resources"/>
        <classpathentry kind="src" path="src/main/java"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
        <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
            <attributes>
                <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
            </attributes>
        </classpathentry>
        <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
    </classpath>
    
    #326566 Reply

    Peter
    Member

    still have this problem… any suggestions?

    #326632 Reply

    cconway
    Member

    Typically in a maven project, the POM would be the place to specify dependencies. It looks like there are additional dependencies on the classpath of this project (prior to the upgrade).

    It looks like the upgrader for Maven projects is not taking into consideration additional classpath entries added to the project. Have you tried re-adding the missing libraries to the classpath, or maybe specifying them in the POM instead?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Upgrading ME4s Web Project from 9.1 to 10 does not work

You must be logged in to post in the forum log in