首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

tomcat 开发应用部署到jboss 上的有关问题,(structs+spring+hibernate+ext)

2012-02-03 
tomcat 开发应用部署到jboss 上的问题,(structs+spring+hibernate+ext)在tomcat 上配置的一个应用,现在想

tomcat 开发应用部署到jboss 上的问题,(structs+spring+hibernate+ext)
在tomcat 上配置的一个应用,现在想部署到jboss上,启动的时候报错。请大家帮帮忙,错误如下:

Java code
"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 more08: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 more08:47:29,203 INFO  [[/EPM_VER]] Shutting down log4j08:47:29,218 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/EPM_VER state=Create mode=Manual requiredState=Installedorg.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)


[解决办法]
java.lang.IllegalArgumentException: URI scheme is not "file"


URI 是一个路径,不是一个文件类型,看看你哪里有配这种类型的参数,检查下,自己改不了再贴出来。。。。。

热点排行