[rules-users] No String constructor found on type [org.drools.builder.ResourceType]

ashokkuppuswamy kuppuswamy.ashok at gmail.com
Wed Dec 5 10:30:05 EST 2012


I am trying to integrate with spring and I am stuck on this error
 
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemProperties] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemEnvironment] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Initialized
StandardEnvironment with PropertySources
[systemProperties,systemEnvironment]
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Initializing new
StandardEnvironment
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemProperties] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemEnvironment] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Initialized
StandardEnvironment with PropertySources
[systemProperties,systemEnvironment]
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Initializing new
StandardEnvironment
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemProperties] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Adding
[systemEnvironment] PropertySource with lowest search precedence
2012-12-05 04:43:45 [main] DEBUG
org.springframework.core.env.StandardEnvironment  - Initialized
StandardEnvironment with PropertySources
[systemProperties,systemEnvironment]
2012-12-05 04:43:45 [main] DEBUG org.springframework.beans.BeanUtils  - No
property editor [org.drools.builder.ResourceTypeEditor] found for type
org.drools.builder.ResourceType according to 'Editor' suffix convention
2012-12-05 04:43:45 [main] DEBUG
org.springframework.beans.TypeConverterDelegate  - No String constructor
found on type [org.drools.builder.ResourceType]
java.lang.NoSuchMethodException:
org.drools.builder.ResourceType.<init>(java.lang.String)
          at java.lang.Class.getConstructor0(Class.java:2706)
          at java.lang.Class.getConstructor(Class.java:1657)
          at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:197)
          at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
          at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
          at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)
 
 
This is the config I have
 
<jbpm:kbase id="kbase">
    <jbpm:resources>
      <jbpm:resource type="BPMN2" source="classpath:Evaluation.bpmn"/>
    </jbpm:resources>
  </jbpm:kbase>
 
Any help is greatly appreciated.



--
View this message in context: http://drools.46999.n3.nabble.com/No-String-constructor-found-on-type-org-drools-builder-ResourceType-tp4021099.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list