gudii9
asked on
maven import project error
when i import the maven projet to eclipse mars with tomcat 8 on windows laptop getting below errors
Description Resource Path Location Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxws:server'. cxf-servlet.xml /javafirstws/src/main/weba pp/WEB-INF line 9 XML Problem
Description Resource Path Location Type
The superclass "javax.servlet.http.HttpSe rvlet" was not found on the Java Build Path index.jsp /javafirstws/src/main/weba pp line 1 JSP Problem
please advise
Description Resource Path Location Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxws:server'. cxf-servlet.xml /javafirstws/src/main/weba
Description Resource Path Location Type
The superclass "javax.servlet.http.HttpSe
please advise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
do from command line
ASKER
actually below helped in fixing issue
http://stackoverflow.com/questions/22756153/the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build
Add a runtime first and select project properties then check server name from 'Runtimes' tab as shown in image.
http://stackoverflow.com/questions/22756153/the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build
Add a runtime first and select project properties then check server name from 'Runtimes' tab as shown in image.
ASKER
while choosing tomcat i have to hange the jre drop down selection to 1.8 instead of the default first option it showed as attahed.
JRE1.8.png
JRE1.8.png
ASKER
what it means by default workbench jre 1.8 as attached which i have not selected to avoid trouble. But i t alwasy comes by default
workbenchDefault.png
workbenchDefault.png
what it means by default workbench jre 1.8
I believe you have already posted a separate question related to this.
No need to duplicate here.
ASKER
mven-clean.png