1》org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [com.config.spring.application-
context.xml]; nested exception is java.io.FileNotFoundException: class path resource [com.config.spring.application-context.xml] cannot be opened because it
does not exist
原因是:
在web.xml文件中加载spring配置文件时application-context.xml没有找到,当初照着包考
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:/com.config.spring.application-context.xml</param-value>
</context-param>
出现的是com.config.spring需要把.换成/就ok了
例如:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:/com/config/spring/application-context.xml</param-value>
</context-param>
2》The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-handler'.
原因是:jar版本和
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
对不上
3》Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested
exception is org.jbpm.api.JbpmException: no jBPM DB schema: no JBPM4_EXECUTION table. Run the create.jbpm.schema target first in the install tool.
原因:是因为jbpm4 表没有找到table(JBPM4_EXECUTION )
浙公网安备 33010602011771号