`

提示:WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] - Error setting value ogn

阅读更多

提示:WARN [com .opensymphony .xwork2 .ognl .OgnlValueStack ] - Error setting value
ognl .OgnlException: source is null for getProperty(null, "book")
        at ognl .OgnlRuntime.getProperty(OgnlRuntime.java:1638)
        at ognl .ASTProperty.getValueBody(ASTProperty.java:92)
        at ognl .SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
        at ognl .SimpleNode.getValue(SimpleNode.java:210)
        at ognl .ASTChain.setValueBody(ASTChain.java:168)
        at ognl .SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl .SimpleNode.setValue(SimpleNode.java:246)
        at ognl .Ognl .setValue(Ognl .java:476)
        at com .opensymphony .xwork2 .ognl .OgnlUtil.setValue(OgnlUtil.java:192)
        at com .opensymphony .xwork2 .ognl .OgnlValueStack .setValue(OgnlValueStack .java:155)
        at com .opensymphony .xwork2 .ognl .OgnlValueStack .setValue(OgnlValueStack .java:143)
        at com .opensymphony .xwork2 .interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:273)
        at com .opensymphony .xwork2 .interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
        at com .opensymphony .xwork2 .interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
        at com .opensymphony .xwork2 .DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
        at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
        at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
        at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.
java:76)
        at com .sterning.commons.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:27)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)

 

解决方法:

打开log4j.properties 加入:

log4j.logger.com .opensymphony .xwork2 =ERROR

 

分享到:
评论
1 楼 liuyuhua0066 2011-12-19  
治标不治本!

相关推荐

    java.lang.ClassNotFoundException: net.sf.ezmorph.MorpherRegistry

    2. **更新类路径**:确保Ezmorph的jar包已添加到项目的类路径(Classpath)中。对于传统的Java应用,这可能意味着将 `ezmorph-*.jar` 放入 `lib` 目录,或者在IDE中配置正确的类路径。对于现代应用,如Spring Boot,...

    后跟介词的动词和形容词中考必背.doc

    2. **后接 from 的动词** - `borrow from`:从...借来 - `defend from/against`:保护...免受... - `demand from/of`:向...要求 - `differ from`:与...不同 - `dismiss from`:解雇 - `draw from`:从...中...

    baomidou-dynamaster_java_源码

    2. **多数据源**: 在企业级应用中,通常需要连接多个数据库,如主库和从库,以实现读写分离,提高系统性能。多数据源支持允许开发者配置并管理多个数据库连接,根据业务逻辑选择合适的数据源。 3. **动态数据源**: ...

    log4j:WARN No appenders could be found for logger (org.springframework.context.s

    NULL 博文链接:https://wait7758521.iteye.com/blog/1933964

    struts2驱动包

    log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider). log4j:WARN Please initialize the log4j system properly. 2009-8-29 14:02:46 org....

    tencentcloud-sdk-java-3.1.270

    tencentcloud-sdk-java-3.1.270

    asm5.0.jar

    2013-08-12 14:33:37.672:WARN::Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/cloudwave-core/src/main/...

    高考英语一轮复习 Units 1-4精品导学案 译林牛津版选修10 学案.doc

    - "warn sb. of sth." 意为“警告某人关于某事”。 - "antibiotics" 是抗生素,"unnecessary" 表示“不必要的”。 通过这些知识点的复习,我们可以看到高考英语复习中对于词汇和短语运用的重视。学生需要熟悉各种...

    metrics-graphite-3.1.5-API文档-中英对照版.zip

    赠送jar包:metrics-graphite-3.1.5.jar; 赠送原API文档:metrics-graphite-3.1.5-javadoc.jar; 赠送源代码:metrics-graphite-3.1.5-sources.jar; 赠送Maven依赖信息文件:metrics-graphite-3.1.5.pom;...

    hadoop2.8.1 native for macOS10

    macOS下使用hadoop2.8.1时, 执行hadoop fs 命令(如:hadoop fs -ls /tmp/input)会提示: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where ...

    hadoop.dll包括winutils.exe

    hadoop2.6版本的dll,网上比较多的是2.2的dll,如果2.6版本用2.2的dll,会报hadoop 2.6 UnsatisfiedLinkError: org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArra 错误,因为2.2的dll中...

    Hadoop 启动WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using

    搭建hadoop 环境时遇到启动异常告警问题 “WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable” 上来不多说,百度收集些相关...

    hadoop-core-1.1.1.jar

    原错误提示为:12/04/24 15:32:44 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 12/04/24 15:32:44 ERROR security....

    解决struts2下载异常的jar包 struts2-sunspoter-stream-1.0.jar

    在struts2中使用result里type="stream"的结果类型时,可以实现文件的下载管理,使用时也是比较顺畅,但是当在“下载提示窗口”中点击“取消按钮”时,总是报出“java.lang.IllegalStateException”异常,异常内容...

    大学英语三级常考单词和短语.doc

    - `warn`: 警告,`warn sb. of sth.` 警告某人某事。 - `measure`: 测量。 - `injure`: 伤害,受伤。 - `imitate`: 模仿。 - `deliver`: 递送,发表。 - `complicated`: 复杂的。 - `service`: 服务,提供...

    log4j.properties

    如果eclipse打印不出日志,在控制台上只...2.log4j:WARNPleaseinitializethelog4jsystemproperly. 3.log4j:WARNSeehttp://logging.apache.org/log4j/1.2/faq.html#noconfigformoreinfo. 就本文件拷贝到src目录下即可。

    hadoop-native-64-2.6.0.zip

    Hadoop使用过程报错:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...解决 下载过后把tar包解压在hdoop的lib/native下即可

    java-decompiler.jar java反编译

    java -jar java-decompiler.jar -log=warn d:/my.jar d:/decompiled 上述命令表示将文件 d:/my.jar 进行反编译,**生成一个新的 my.jar**,存放在目录 d:/decompiled。 **虽然新的 my.jar 也是 .jar 后缀,但它...

    cap_ffmpeg_impl.hpp

    make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [all] Error 2 解决办法: 通过查看make过程中的错误知道,问题出在OpenCV-2.3.0/modules/highgui/src/cap_ffmpeg_impl.hpp...

Global site tag (gtag.js) - Google Analytics