- This topic has 6 replies, 2 voices, and was last updated 20 years, 5 months ago by Riyad Kalla.
-
AuthorPosts
-
Alfie KirkpatrickMemberI’ve add a taglib entry to web.xml and then reference in top of JSP file. I’m getting an entry in the Problem window which is more like a stack trace, so think an exception is being thrown on the incremental build.
Here is the trace… sorry it’s obviously not the complete stack but that’s all I can get – nothing appears in the logfile.
67)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
at de.bb.bje.eclipse.IncrementalJspBuilder.?(Unknown Source)
at de.bb.bje.eclipse.IncrementalJspBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:504)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:137)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:224)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:194)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:242)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:270)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:168)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)My web.xml has this:
<taglib>
<taglib-uri>portal</taglib-uri>
<taglib-location>/WEB-INF/tld/modules.tld</taglib-location>
</taglib>My JSP has this:
<%@taglib uri=”portal” prefix=”mod”%>
Code complete works on the tags defined in the tld but it’s annoying to have that error sitting there…
Alfie.
Alfie KirkpatrickMemberAlso, errors further down in the JSP are not reported.
Alfie KirkpatrickMemberAh, and I’m using Eclipse3M8 with the MyEclipse that was released for that version.
Riyad KallaMemberTry and refresh and rebuild the project, did that help?
Alfie KirkpatrickMemberI have closed and reopened Eclipse with the same result. I did a Refresh but the Project->Build option is greyed out. I also did Project->Clean which gave an interesting result… the error goes away but is replaced with another error which is simply “com/vignette/portal/log/LogWrapper”. This kind of message is normally caused by NoClassDefFoundException in my experience. When I change the JSP and save the previous problem replaces this problem again.
Alfie.
Alfie KirkpatrickMemberI found the missing class, added it to the build path, did a Project->Clean, modified the JSP and saved — and everything’s sorted now!
But still don’t think it should fail in this way.
Riyad KallaMemberI found the missing class, added it to the build path, did a Project->Clean, modified the JSP and saved — and everything’s sorted now!
That’s great, good job finding the problem!
But still don’t think it should fail in this way.
Yes I agree, that is very strange. We can mark this as something to investigate.
-
AuthorPosts