|Resolving HTML, JSP, and XML Schema Problems [message #514059]
||Fri, 12 February 2010 10:39
Registered: January 2010
I'm trying to get my existing project loaded into Eclipse. I have a directory structure that looks something like this:|
I'm seeing the following three types of problems:
1. HTML Problems
Eclipse is complaining of bad HTML within my unit-test-data directory. I agree, the HTML is bad. However, it is what my app needs to deal with. How can I tell Eclipse to ignore anything in the unit-test-data directory? It wants to look at everything in the 'src' directory.
2. JSP Problem
In my .jsp files, I have:
<%@ taglib prefix"foo" tagdir="/WEB-INF/tags/foo" %>
Can not find the tag library descriptor for "/WEB-INF/tags/foo
How can I resolve this problem?
3. XML Schema Problems
In my WEB-INF directory I have web-app_2_5.xsd. Eclipse complains:
schema_reference.4: Failed to read schema document 'jsp_2_1.xsd', because...
src-resolve: Cannot resolve the name 'javaee:jsp-fileType' to a(n) 'type definition' component.
src-resolve: Cannot resolve the name 'javaee:jsp-configType' to a(n) 'type definition' component
I tried placing jsp_2_1.xsd in the directory, but that didn't help. How do I resolve these problems?
Powered by FUDForum
. Page generated in 0.03310 seconds