tomcat 开发应用部署到jboss 上的问题,(structs+spring+hibernate+ext)
在tomcat 上配置的一个应用,现在想部署到jboss上,启动的时候报错。请大家帮帮忙,错误如下:
"Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - vfszip:/D:/soft/usesoft/work/jboss-5.0.1.GA/server/default/deploy/EPM_VER.war/WEB-INF/lib/struts2-core-2.1.2.jar/struts-default.xml:143:127
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:200)
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(Unknown Source)
at com.opensymphony.xwork2.validator.DefaultValidatorFactory.parseValidators(DefaultValidatorFactory.java:101)
at com.opensymphony.xwork2.validator.DefaultValidatorFactory.<init>(DefaultValidatorFactory.java:43)
... 113 more
08:47:28,984 INFO [STDOUT] "WARN 08:47:28,984 (CommonsLogger.java:46)com.opensymphony.xwork2.util.logging.commons.CommonsLogger.warn
Unable to load config class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor at interceptor - vfszip:/D:/soft/usesoft/work/jboss-5.0.1.GA/server/default/deploy/EPM_VER.war/WEB-INF/lib/struts2-core-2.1.2.jar/struts-default.xml:143:127 probably due to a missing jar, which might be fine if you never plan to use the validation interceptor
"
08:47:29,000 INFO [STDOUT] "ERROR 08:47:28,984 (CommonsLogger.java:28)com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error
Actual exception
"Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - vfszip:/D:/soft/usesoft/work/jboss-5.0.1.GA/server/default/deploy/EPM_VER.war/WEB-INF/lib/struts2-core-2.1.2.jar/struts-default.xml:143:127
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:200)
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(Unknown Source)
at com.opensymphony.xwork2.validator.DefaultValidatorFactory.parseValidators(DefaultValidatorFactory.java:101)
at com.opensymphony.xwork2.validator.DefaultValidatorFactory.<init>(DefaultValidatorFactory.java:43)
... 113 more
08:47:29,203 INFO [[/EPM_VER]] Shutting down log4j
08:47:29,218 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/EPM_VER state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL file:/D:/soft/usesoft/work/jboss-5.0.1.GA/server/default/deploy/EPM_VER.war/ deployment failed
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:333)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)