- This topic has 3 replies, 2 voices, and was last updated 20 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
odiniiMember[System]
1. Operating system and version: Windows 2000 korean
2. Eclipse version: 3.0M6
3. Eclipse build id: 200312182000
4. MyEclipse version: 3.7RC2
5. Eclipse JDK version: 1.4.2_03
6. Application server JDK version: N/AI try to create a new java class by right clicking in the “Package Explorer” and selecting New > Class…
In “New Java Class” window, selecting “Superclass” to “TagSupport” class, the following error is occurred.“Could not uniquely map the type name to a type. Path is /C:\webdev\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.6.200\data”
Let me know the solution.
Have a nice day…^^
Riyad KallaMemberodinii,
Please check out this thread (read the last post):
https://www.genuitec.com/forums/topic/error-creating-ejb-s-and-servlets-closed/&highlight=uniquely+mapI just tried your steps here locally with just Tomcat’s servlet-api.jar and jsp-api.jar in my build path, then I tried with just the 1.3 library set in my build path THEN I tried with both in my build path and all times made a class extending TagSupport and didn’t run into this problem.
Hopefully the workaround in that thread will help you (but its hard to debug/fix a bug that we can’t reproduce). If you are able to reproduce this bug again or the workaround doesn’t help, then we can start digging into log files and see what is going on.
odiniiMemberHi rkalla,
In my case, with Tomcat’s jsp-api.jar in the build path, I can select “TagSupport” class as you mentioned it. 🙂
But with MyEclipse’s J2EE library javax.servlet.jar, I can’t…
The following link is the snapshot of my situation.I wish it helps you to correct this…
Have a nice a day.
Riyad KallaMemberodinii,
the TagSupport class is not part of the servlet spec, that is why it won’t be in the servlet.jar file. You need some version of the jsp api included in your build path to make use of TagSupport class.When I remove the jsp-api.jar from my class path I am no longer able to create a class extending it. Are you not seeing this behavior? Unfortunately this is Eclipse-behavior problem and not a ME behavior problem so there won’t be much we can do about any problems you may be having with the New Class dialog.
Please let me know if you are able to work though as I don’t want to leave you without a solution.
-
AuthorPosts