Tomcat日志中的异常错误

时间:2011-12-20 04:54:55

标签: spring jsp tomcat struts2

我收到tomcat服务器上显示的错误。

错误是这样的:

  log4j:WARN Please initialize the log4j system properly.
  [TomcatInstrumentableClassLoader@1aba6aa] warning javax.* types are not being wo
  ven because the weaver option '-Xset:weaveJavaxPackages=true' has not been speci
  fied

  log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFil
  eAppender.
  log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAp
  pender.
   _JPAEclipseLinkSessionCustomizer: configured null
   [EL Info]: 2011-12-20 03:52:24.14--ServerSession(648644)--EclipseLink, version:
   Eclipse Persistence Services - 2.2.0.v20100819-r8063


   [TomcatInstrumentableClassLoader@1aba6aa] error at com\opensymphony\xwork2\inter
    ceptor\ExceptionMappingInterceptor.java::0 class 'com.opensymphony.xwork2.interc
   eptor.ExceptionMappingInterceptor' is already woven and has not been built in re
    weavable mode
   [TomcatInstrumentableClassLoader@1aba6aa] error at org\apache\struts2\intercepto
   r\ServletConfigInterceptor.java::0 class 'org.apache.struts2.interceptor.Servlet
    ConfigInterceptor' is already woven and has not been built in reweavable mode
   [TomcatInstrumentableClassLoader@1aba6aa] error at com\opensymphony\xwork2\inter
    ceptor\PrepareInterceptor.java::0 class 'com.opensymphony.xwork2.interceptor.Pre
    pareInterceptor' is already woven and has not been built in reweavable mode
    [TomcatInstrumentableClassLoader@1aba6aa] error at org\apache\struts2\intercepto
    r\CheckboxInterceptor.java::0 class 'org.apache.struts2.interceptor.CheckboxInte
    rceptor' is already woven and has not been built in reweavable mode
    [TomcatInstrumentableClassLoader@1aba6aa] error at org\apache\struts2\intercepto
    r\ActionMappingParametersInteceptor.java::0 class 'org.apache.struts2.intercepto
     r.ActionMappingParametersInteceptor' is already woven and has not been built in
    reweavable mode
    [TomcatInstrumentableClassLoader@1aba6aa] error at org\apache\struts2\intercepto
     r\StrutsConversionErrorInterceptor.java::0 class 'org.apache.struts2.interceptor
    .StrutsConversionErrorInterceptor' is already woven and has not been built in re
     weavable mode
     [TomcatInstrumentableClassLoader@1aba6aa] error at org\apache\struts2\intercepto
     r\validation\AnnotationValidationInterceptor.java::0 class 'org.apache.struts2.i
     nterceptor.validation.AnnotationValidationInterceptor' is already woven and has
      not been built in reweavable mode

为什么会出现此错误?我该如何纠正?

一切正常。但是我可以在tomcat上看到上面的错误。我不知道哪个代码导致了这个错误。

使用Mvc-struts2

Spring - 使用IOC和事务

未使用AOP

部署 - 将war文件复制到tomcat wepapps并启动服务器

tomcat上显示以下警告

   [TomcatInstrumentableClassLoader@154d00e] warning javax.* types are not being wo
   ven because the weaver option '-Xset:weaveJavaxPackages=true' has not been speci
   fied

这是什么我该如何纠正?

我正在使用spring transaction 使用org.springframework.aop.framework.ProxyFactoryBean

0 个答案:

没有答案
相关问题