facebook

[myeclipse 8.6]unresolved type error(tomcat-jdbc.jar)

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #352989 Reply

    robyn
    Member

    Hello, I’m using MyEclipse 8.6.
    I’m developing web project on Tomcat 7 and try to use Datasource of tomcat-jdbc.jar.

    however, when coding, following error is displayed.
    The import org.apache.tomcat cannot be resolved.

    I set Server to Tomcat7 and set path (MyEclipse->Preference->Servers->Tomcat->Tomcat7 direcotry to location where tomcat7 installed)

    right click on myweb project->properties->Run/Debug Settings->Tomcat 7.x

    I thought tomcat-jdbc.jar is already in tomcat’s lib directory(Tomcat 7.0/lib), MyEclipse will pick up tomcat-jdbc’s classes automatically, however it still display error(unresolved)

    1)i tried to “append classpath” in tomcat 7.0 path (MyEclipse->preference->servers->Tomcat7.x ->path->) -> still error
    2) i tried add tomcat-jdbc.jar using “add library” in buildpath –>it’s working, but, war file has tomcat-jdbc.jar file…

    is there a proper way to use tomcat’s jar libarary, but not include in war file because it’s already in tomcat’s lib directory?
    (just refer class)

    #352992 Reply

    robyn,

    I’m afraid MyEclipse 8.6 is no longer fully supported. I suggest you upgrade to our latest release MyEclipse 2015 CI 7 (based on Eclipse Luna).

    You can download MyEclipse 2015 CI 7 from here. If you are currently holding a MyEclipse license, then the same license is valid for MyEclipse 2015 CI as well.

    If it is not possible to upgrade at this point, then please send me a private message (pm) with your MyEclipse license information (Subscriber ID and Subscriber Code) and we will see if we can assist you further.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [myeclipse 8.6]unresolved type error(tomcat-jdbc.jar)

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