Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Release 1.5
-
Fix Version/s: None
-
Component/s: Validation
-
Labels:None
Description
We're trying to set up our own TypeConverter implementations for dealing with Dates. In my web.xml I configured the Extension.Packages parameter, but noticed that the default converter was still being used.
Further debugging and stepping through the code revealed that the problem appears to be caused by ResolverUtil's use of Thread.currentThread().getContextClassLoader() which appears to create issues for OSGi applications, i.e. I get the following error:
26 Feb 2009 15:14:37,951 | 378837 [ERROR] {Thread-51} (net.sourceforge.stripes.util.ResolverUtil) Could not search jar file '\com\orchestral\common\stripes\converter' for classes matching criteria: is assignable to Interceptordue to an IOException: \com\orchestral\common\stripes\converter (The system cannot find the path specified)
If I use the @Validate annotation with converter= I can use TypeConverters from the com.orchestral.common.stripes.converter package.