spring - Eclipse does not deploy jars into WEB-INF/lib directory -


I have to integrate JSF with Spring added these lines in web.xml Is:

  & lt; Context param & gt; & Lt; Ultimate Name & gt; ContextConfigLocation & lt; / Lastname & gt; & Lt; Ultimate Price & gt; /WEB-INF/applicationContext.xml< / Super-valued & gt; & Lt; / Reference param & gt; & Lt; Listener & gt; & Lt; Audience category & gt; Org.springframework.web.context.ContextLoaderListener & lt; / Listener Category & gt; & Lt; / Listener & gt; & Lt; Listener & gt; & Lt; Audience category & gt; Org.springframework.web.context.request.RequestContextListener & lt; / Listener Category & gt; & Lt; / Listener & gt;  

I have included all spring dependencies using Maven, but when I run the project I get the following error message:

  java.lang .ClassNotFoundException: org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener  

when I take a look at the folder the / WEB-INF / lib Any jar files, although dependence pom.xml is found to have been declared

 . & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework & lt; / Group & gt; & Lt; ArtifactId & gt; Spring-web & lt; / ArtifactId> & Lt; Version & gt; $ {Spring.version} & lt; / Edition & gt; & Lt; / Dependencies & gt;  

I think the problem has not been packed with jars of jars. You have an idea how to fix it? While

I have added use all spring dependence Maven, but when I project I get the following error message (...)

How do you run this project? Do you use m2eclipse? How do you build a project? Did you import an existing Maven project into Eclipse?

When I took a look at the folder / web-INF / lib I have been declared dependency pom.xml, no jar files have been found

Dependency looks ok but ... what is the WEB-INF / lib folder? where exactly? AFAIK, m2eclipse in "not" deployed in the WEB-INF / lib (but it will create a custom class paths with them).

I think the jar that the problem which has not been packed with the jar's draft Do you have an idea how to fix it?

I'm not sure I understand what you say mvn install what do you get when you run? Does the war look right? Can you really show your pom.xml ?


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -