facebook

MyEclipse 2013 – ClassNotFoundException

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #342447 Reply

    minhur
    Member

    Normally this would sound like an error on the project, but this is an issue that’s happening specifically on MyEclipse 2013 (not 10.1)

    I have a project on svn repo that uses spring through maven.

    The same exact project works perfectly on MyEclipse 10.1, but on 2013 it keeps complaining that it cannot find the class.

    I have 2013 and 10.1 install side-by-side to compare, and can’t seem to sort out what it’s doing different.

    [2013-09-16 16:12:27,996] [main] WARN  org.eclipse.jetty.util.log  - Could not instantiate listener org.springframework.web.context.ContextLoaderListener
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

    My pom.xml has this

            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${spring.version}</version>
            </dependency>

    One thing I do notice is that when I add web project capabilities from 10.1, JAVA EE 6 Libraries do show up on the project while

    on 2013, when I convert to facet form and add dynamic web module, it doesn’t show it.

    both project do show maven dependencies and jre system libraries.

    Again I’m not sure what’s causing this since it’s the same plugins I have installed, both on 2013 and 10.1, and while it works on 10.1, it doesn’t work on 2013.

    Only thing that might be different is that 2012 is using m2e 1.4.0 while 10.1 is on 1.0.200.

    #342462 Reply

    support-swapna
    Moderator

    minhur,

    Sorry that you are seeing issues.

    Can you please send us the full pom.xml and .project, .classpath, .mymetadata, .settings folders from ME 10.1 and from ME 2013 to help us investigate further?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse 2013 – ClassNotFoundException

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