JBoss Community

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

created by Ashok Kuppuswamy in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community