java - is application.xml file must to run a spring mvc application in tomcat 7? -
i new spring mvc.
i've downloaded 1 application , trying deploy using apache tomcat, unable run it.
i'm getting error message:
fail - application @ context path /geeknews not started <web-app version="2.5" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <servlet> <servlet-name>sdnext</servlet-name> <servlet-class>org.springframework.web.servlet.dispatcherservlet </servlet-class> <init-param> <param-name>contextconfiglocation</param-name> <param-value>/web-inf/config/sdnext-servlet.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>sdnext</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app>
error logs
j java.lang.illegalargumentexception: taglib definition not consistent specification version @ org.apache.catalina.startup.tagliblocationrule.begin(webruleset.java:1274) @ org.apache.tomcat.util.digester.digester.startelement(digester.java:1276) @ com.sun.org.apache.xerces.internal.parsers.abstractsaxparser.startelement(unknown source) @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scanstartelement(unknown source) @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl$fragmentcontentdriver.next(unknown source) @ com.sun.org.apache.xerces.internal.impl.xmldocumentscannerimpl.next(unknown source) @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scandocument(unknown source) @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) @ com.sun.org.apache.xerces.internal.parsers.xmlparser.parse(unknown source) @ com.sun.org.apache.xerces.internal.parsers.abstractsaxparser.parse(unknown source) jun 23, 2014 11:21:59 pm org.apache.catalina.core.standardcontext startinternal severe: context [/geeknews] startup failed due previous errors jun 23, 2014 11:21:59 pm org.apache.catalina.startup.hostconfig deploywar info: deploying web application archive c:\program files (x86)\apache software foundation\tomcat 7.0\webapps\sample.war java.lang.illegalargumentexception: taglib definition not consistent specification version jun 23, 2014 11:22:41 pm org.apache.catalina.startup.contextconfig parsewebxml severe: occurred @ line 33 column 11 jun 23, 2014 11:22:41 pm org.apache.catalina.startup.contextconfig configurestart severe: marking application unavailable due previous error(s) jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/core defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/fmt defined j un 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/functions defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://jakarta.apache.org/taglibs/standard/permittedtaglibs defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://jakarta.apache.org/taglibs/standard/scriptfree defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/sql defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/xml defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/core_rt defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/core defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/core defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/fmt_rt defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/fmt defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/fmt defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/functions defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://jakarta.apache.org/taglibs/standard/permittedtaglibs defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://jakarta.apache.org/taglibs/standard/scriptfree defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/sql_rt defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/sql defined jun 23, 2014 11:22:41 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/sql defined jun 23, 2014 11:22:42 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/xml_rt defined jun 23, 2014 11:22:42 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jstl/xml defined jun 23, 2014 11:22:42 pm org.apache.catalina.startup.tagliburirule body info: tld skipped. uri: http://java.sun.com/jsp/jstl/xml defined j un 23, 2014 11:22:42 pm org.apache.catalina.core.standardcontext startinternal severe: error getconfigured jun 23, 2014 11:22:42 pm org.apache.catalina.core.standardcontext startinternal severe: context [/geeknews] startup failed due previous errors jun 23, 2014 11:23:20 pm org.apache.coyote.abstractprotocol pause info: pausing protocolhandler ["http-bio-8080"] jun 23, 2014 11:23:21 pm org.apache.coyote.abstractprotocol pause info: pausing protocolhandler ["ajp-bio-8009"] jun 23, 2014 11:23:21 pm org.apache.catalina.core.standardservice stopinternal info: stopping service catalina jun 23, 2014 11:23:21 pm org.apache.coyote.abstractprotocol stop info: stopping protocolhandler ["http-bio-8080"] jun 23, 2014 11:23:21 pm org.apache.coyote.abstractprotocol stop info: stopping protocolhandler ["ajp-bio-8009"]
what run application? geeknews.xml
file required run it? (conf/cata*/localhost)
i guess have libraries conflicts; error saying using taglibs whom version not compatible specification (jsp , servlet specification)
i raccomend check libs....it doesn't seem related spring
Comments
Post a Comment