facebook

Getting "Classpath entry …..jar will not be exported

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

    jslate73
    Participant

    Getting error “Classpath entry ….jar will not be exported or published. Runtime ClassNotFoundExceptions may result.”

    JAR file is in my project’s WEB-INF/lib directory and is on the projects libraries on the build path and it does end up in the deployed WEB-INF/lib directory, so it is exported, so I’m not sure what MyEeclipse is complaining about.

    Thanks,
    Jonathan

    #288646 Reply

    jslate73
    Participant

    Oh, really it is a warning.

    #288687 Reply

    Loyal Water
    Member

    Oh, really it is a warning.

    I’m sorry I didn’t understand what you meant.

    #290338 Reply

    jslate73
    Participant

    Still having this issue. What I meant is it is reported as a warning in Eclipse, not an error. Would still appreciate some help on this.

    #290393 Reply

    Loyal Water
    Member

    I guess you will have to ignore this warning. You can refer to this thread for more information on this:-
    http://dev.eclipse.org/newslists/news.eclipse.webtools/msg13699.html

    #290941 Reply
    #291089 Reply

    Loyal Water
    Member

    Thanks for pasting the additional link.

    #291288 Reply

    jslate73
    Participant

    That’s too bad. I just don’t pay attention to warnings when I know I have a bunch that I need to ignore. In fact, I have multiple types of warnings that aren’t really valid. Even more frustrating, filters on warnings are “and-ed” so you can’t use multiple filters to hide all of your warnings unless they have some text in common. Arg.

    #297981 Reply

    I had that warning. I used the QuickFix in the margin and it fixed it.

    I am not sure exactly what it did but it added an entry “publish/export dependency: /WEB-INF/lib” in the Java Build Path tab for that library.
    You have the option to publish or not to publish.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Getting "Classpath entry …..jar will not be exported

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