請教《Java實用系統開發指南》第5章執行問題

wyl8927發表於2005-11-02
banq:

你好!
我在學習執行第五章程式碼舊版 CmpSUBOld2 時,出現No action instance for path /subscriptionAction could be creat錯誤,請指教。log資訊如下:
2005-11-02 22:34:11 DEBUG [ModuleUtils.java:167] org.apache.struts.util.ModuleUtils.getModuleName() - Get module name for path /subscriptionAction.do
2005-11-02 22:34:11 DEBUG [ModuleUtils.java:191] org.apache.struts.util.ModuleUtils.getModuleName() - Module name found: default
2005-11-02 22:34:11 DEBUG [RequestProcessor.java:172] org.apache.struts.action.RequestProcessor.process() - Processing a 'GET' for path '/subscriptionAction'
2005-11-02 22:34:11 WARN [RequestUtils.java:175] org.apache.struts.util.RequestUtils.createActionForm() - No FormBeanConfig found under 'null'
2005-11-02 22:34:11 DEBUG [RequestProcessor.java:255] org.apache.struts.action.RequestProcessor.processActionCreate() - Looking for Action instance for class com.jg.dingyue2.web.SubscriptionAction
2005-11-02 22:34:11 DEBUG [RequestProcessor.java:276] org.apache.struts.action.RequestProcessor.processActionCreate() - Creating new Action instance
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:132] org.apache.struts.util.PropertyMessageResources.getMessage() - getMessage(zh_CN,actionCreate)
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:224] org.apache.struts.util.PropertyMessageResources.loadLocale() - loadLocale(zh_CN)
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:246] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource 'org/apache/struts/action/ActionResources_zh_CN.properties'
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:271] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource completed
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:224] org.apache.struts.util.PropertyMessageResources.loadLocale() - loadLocale(zh)
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:246] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource 'org/apache/struts/action/ActionResources_zh.properties'
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:271] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource completed
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:224] org.apache.struts.util.PropertyMessageResources.loadLocale() - loadLocale()
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:246] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource 'org/apache/struts/action/ActionResources.properties'
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:271] org.apache.struts.util.PropertyMessageResources.loadLocale() - Loading resource completed
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.initProcessor
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.destroyDataSource
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configWebXml
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configMissing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyForwardConfig.invalid
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.unhandledException
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.dataSource.init
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyPlugInConfigs.missing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.dataSource.destroy
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.processInvalid
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.notAuthorized
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyMessageResourcesConfigs.missing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyMessageResourcesConfigs.key
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.noInput
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configIO
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.reloading
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.processPath
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configInit
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configVerifying
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.sessionCreate
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyForwardConfig.missing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configCompleted
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyActionMappingClass.invalid
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.initDataSource
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configMapping
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.requestDispatcher
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configParse
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.finalizing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.formBean
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyActionMappingClass.missing
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyPlugInConfigs.invalid
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.applicationLoading
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.mappingType
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.actionCreate
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.applicationResources
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.configFatal
2005-11-02 22:34:11 DEBUG [PropertyMessageResources.java:284] org.apache.struts.util.PropertyMessageResources.loadLocale() - Saving message key '.verifyMessageResourcesConfigs.invalid
2005-11-02 22:34:11 ERROR [RequestProcessor.java:284] org.apache.struts.action.RequestProcessor.processActionCreate() - No action instance for path /subscriptionAction could be created
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:280)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:218)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

相關文章