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/webapp/WEB-INF      line 9      XML Problem


Description      Resource      Path      Location      Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path      index.jsp      /javafirstws/src/main/webapp      line 1      JSP Problem


please advise
LVL 7
gudii9Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gurpsbassiCommented:
have you done a 'mvn clean install' on the command line?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Author Commented:
i right clicked on the project from eclipse and did run as maven clean then maven install as attached.
mven-clean.png
0
gurpsbassiCommented:
do from command line
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

gudii9Author Commented:
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.
0
gudii9Author Commented:
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
0
gudii9Author Commented:
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
0
gurpsbassiCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.