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

jboss运作出错找不到结果

2012-12-17 
jboss运行出错找不到结果Unable to instantiate Action, testAction,defined for ShowCard in namespace

jboss运行出错找不到结果


Unable to instantiate Action, testAction,  defined for 'ShowCard' in namespace '/'testAction from BaseClassLoader@1a1700d{VFSClassLoaderPolicy@1c39fc3{name=vfsfile:/D:/jboss-5.1.0.GA/server/default/deploy/test.war/ domain=ClassLoaderDomain@84731c{name=vfsfile:/D:/jboss-5.1.0.GA/server/default/deploy/test.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@cbd8dc{DefaultDomain}} roots=[MemoryContextHandler@3000953[path= context=vfsmemory://aaq4f-nrrm6t-gadvpo49-1-gadvv9tz-9q real=vfsmemory://aaq4f-nrrm6t-gadvpo49-1-gadvv9tz-9q], FileHandler@2613647[path=test.war/WEB-INF/classes context=file:/D:/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/jboss-5.1.0.GA/server/default/deploy/test.war


网上找了很长时间,没有结果
在tomcat下可以运行,在jboss里运行不了。
[解决办法]

com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:307)
com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:388)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:187)
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

java.lang.ClassNotFoundException: testAction from BaseClassLoader@1a1700d{VFSClassLoaderPolicy@1c39fc3{name=vfsfi


[解决办法]
有经验的指点下。谢谢了
[解决办法]
建议删掉重新编译一下

热点排行