Я получаю сообщение об ошибке, отображаемое на сервере 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 не используется
Развертывание - копирование военного файла в 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
Что это такое.Как я могу это исправить?
Я использую пружинную транзакцию с использованием org.springframework.aop.framework.ProxyFactoryBean