从Tomcat迁移到Weblogic

时间:2009-12-22 08:17:42

标签: java tomcat weblogic

我在tomcat上运行了一个Web应用程序。我想在weblogic服务器上部署它,但我遇到了一些问题。

Error(s) found in module 'BatchMonitoring'. Publish was cancelled. See "Problems" view for details.
  Target runtime SpringSource dm Server (Runtime) v1.0 is not defined. at BatchMonitoring
  Java compiler level does not match the version of the installed Java project facet. at BatchMonitoring




java.lang.IllegalArgumentException: Cannot find state with id 'displayError' in flow 'admin_main' -- Known state ids are 'array<String>['queryAll', 'mainForm', 'register']'
    at org.springframework.webflow.engine.Flow.getStateInstance(Flow.java:348)
    at org.springframework.webflow.engine.support.DefaultTargetStateResolver.resolveTargetState(DefaultTargetStateResolver.java:60)
    at org.springframework.webflow.engine.Transition.execute(Transition.java:217)
    at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:391)
    at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
    at org.springframework.webflow.engine.support.TransitionExecutingFlowExecutionExceptionHandler.handle(TransitionExecutingFlowExecutionExceptionHandler.java:110)
    at org.springframework.webflow.engine.FlowExecutionExceptionHandlerSet.handleException

1 个答案:

答案 0 :(得分:0)

好像你在环境变量和Weblogic的JDK上使用Tomcat正在使用的Java版本(指向JAVA_HOME)时遇到了问题。如果您发送一些日志和异常消息也会很好。