IllegalStateException

==background==
when try to run spring-webflow-1.0.4\projects\spring-webflow-samples\fileupload.

==exception==
java.lang.IllegalStateException

==solution==
get
ognl-2.6.9.jar
from
http://www.ognl.org/download.html
and
place it in web-inf/lib

==log==
2007-07-26 18:53:00,800 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/upload].[fileupload]] - <サーブレット fileupload のServlet.service()が例外を投げました>
java.lang.IllegalStateException: Unable to load the default expression parser: OGNL could not be found in the classpath. Please add OGNL 2.x to your classpath or set the default ExpressionParser instance to something that is in the classpath. Details: ognl.Ognl
at org.springframework.webflow.core.DefaultExpressionParserFactory.createDefaultExpressionParser(DefaultExpressionParserFactory.java:88)
at org.springframework.webflow.core.DefaultExpressionParserFactory.getDefaultExpressionParser(DefaultExpressionParserFactory.java:73)
at org.springframework.webflow.core.DefaultExpressionParserFactory.access$000(DefaultExpressionParserFactory.java:32)
at org.springframework.webflow.core.DefaultExpressionParserFactory$1.isDelimitedExpression(DefaultExpressionParserFactory.java:53)
at org.springframework.binding.convert.support.TextToExpression.doConvert(TextToExpression.java:66)
at org.springframework.binding.convert.support.AbstractConverter.convert(AbstractConverter.java:73)
at org.springframework.binding.convert.ConversionExecutor.execute(ConversionExecutor.java:109)
at org.springframework.binding.convert.ConversionExecutor.execute(ConversionExecutor.java:91)
at org.springframework.webflow.engine.builder.TextToViewSelector.convertEncodedViewSelector(TextToViewSelector.java:145)
at org.springframework.webflow.engine.builder.TextToViewSelector.doConvert(TextToViewSelector.java:114)
at org.springframework.binding.convert.support.AbstractConverter.convert(AbstractConverter.java:73)
at org.springframework.binding.convert.ConversionExecutor.execute(ConversionExecutor.java:109)
at org.springframework.binding.convert.ConversionExecutor.execute(ConversionExecutor.java:91)
at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseViewSelector(XmlFlowBuilder.java:736)
at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseAndAddViewState(XmlFlowBuilder.java:650)
at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseAndAddStateDefinitions(XmlFlowBuilder.java:616)
at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.buildStates(XmlFlowBuilder.java:350)
at org.springframework.webflow.engine.builder.FlowAssembler.directAssembly(FlowAssembler.java:149)
at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:131)
at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.assembleFlow(RefreshableFlowDefinitionHolder.java:173)
at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.getFlowDefinition(RefreshableFlowDefinitionHolder.java:93)
at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:128)
at org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:204)
at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:131)
at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:172)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)

tag : webflow SWF

2007-07-27 01:10 : __fw__spring : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud