struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <afatt...@yahoo.com>
Subject Re: report.conversion.errors
Date Sun, 22 Sep 2013 06:29:47 GMT
I found it in java doc
http://struts.apache.org/release/2.0.x/struts2-core/apidocs/com/opensymphony/xwork2/util/XWorkConverter.html

~Regards,
~~Alireza Fattahi
 

________________________________
 From: Lukasz Lenart <lukaszlenart@apache.org>
To: Struts Users Mailing List <user@struts.apache.org> 
Sent: Saturday, 21 September 2013, 19:18
Subject: Re: report.conversion.errors
  

Where did you find that information?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/9/21 Alireza Fattahi <afattahi@yahoo.com>:
> Hi,
>
> I want to stop xwork conversion from showing error during converting string to int.
> I found report.conversion.errors parameter which must be set in xwork-conversion.properties
> But it is not working, and during application starup up I get this error.
> How should I use this parameter
>
> [ERROR] -  conversion.impl.DefaultConversionPropertiesProcessor:error(): Conversion
registration error
> java.lang.ClassNotFoundException: false
>  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>  at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:152)
>  at com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:108)
>  at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:233)
>  at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:153)
>  at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151)
>  at com.opensymphony.xwork2.conversion.impl.DefaultTypeConverterCreator.createTypeConverter(DefaultTypeConverterCreator.java:23)
>  at com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor.loadConversionProperties(DefaultConversionPropertiesProcessor.java:64)
>  at com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor.process(DefaultConversionPropertiesProcessor.java:40)
>  at com.opensymphony.xwork2.conversion.impl.XWorkConverter.setConversionPropertiesProcessor(XWorkConverter.java:179)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:601)
>  at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:299)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:438)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
>  at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)
>  at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:593)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)
>  at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
>  at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
>  at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:469)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:484)
>  at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:34)
>  at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:299)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:438)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
>  at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)
>  at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:593)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)
>  at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
>  at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
>  at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:469)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:484)
>  at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:34)
>  at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:299)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:438)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
>  at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)
>  at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:593)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)
>  at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
>  at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
>  at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:469)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:484)
>  at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:34)
>  at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:299)
>  at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:438)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
>  at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)
>  at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:593)
>  at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)
>  at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
>  at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
>  at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:514)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:524)
>  at com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:555)
>  at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:584)
>  at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:553)
>  at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:243)
>  at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>  at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
>  at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
>  at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
>  at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
>  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
>  at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:424)
>  at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
>  at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>  at org.apache.catalina.core.StandardService.start(StandardService.java:525)
>  at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:601)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
>
> ~Regards,
> ~~Alireza Fattahi

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message