When I deploy the sample app JPetStore to Macromedia JRun4 , I got the following error. but work fine in Jakarta Tomcat 4.1.30
can anyone tell me what's wrong with it. and How can I solve it? thanks.
Code:08/23 14:52:49 info [axis] Initializing servlet 'remoting' 08/23 14:52:49 info [axis] Framework servlet 'remoting' init 08/23 14:52:49 user Initializing WebApplicationContext for servlet 'remoting' 08/23 14:52:49 error [axis] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMap' defined in resource [/WEB-INF/dataAccessContext-local.xml] of ServletContext: Initialization of bean failed; nested exception is java.lang.VerifyError: (class: com/ibatis/db/sqlmap/XmlSqlMapBuilder, method: buildFragmentList signature: (Lorg/jdom/Element;)Ljava/util/List;) Incompatible object argument for function call java.lang.VerifyError: (class: com/ibatis/db/sqlmap/XmlSqlMapBuilder, method: buildFragmentList signature: (Lorg/jdom/Element;)Ljava/util/List;) Incompatible object argument for function call at org.springframework.orm.ibatis.SqlMapFactoryBean.afterPropertiesSet(SqlMapFactoryBean.java:75) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:987) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:284) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:204) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:135) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:217) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97) at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:80) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204) at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762) at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257) at jrun.deployment.DeployerService.initModules(DeployerService.java:711) at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242) at jrun.deployment.DeployerService.deploy(DeployerService.java:430) at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179) at jrun.deployment.DeployerService.run(DeployerService.java:891) at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Reply With Quote