I am still trying running Turbine 4.0-M1.

I cannot find a way around the java.langNoSuchFieldError:ROLE
thrown by: in TurbineRunDataService

pool = (PoolService)TurbineServices.getInstance().getService(PoolService.ROLE);

I have been trying the Pool and Factory Services as in

pom.xml
<dependency>
            <groupId>org.apache.fulcrum</groupId>
            <artifactId>fulcrum-pool</artifactId>
            <version>1.0.4</version>
        </dependency>
TR.props
services.PoolService.classname=org.apache.fulcrum.pool.DefaultPoolService
services.FactoryService.classname=org.apache.fulcrum.factory.FactoryService;
roleConfiguration.xml

<role
        name="org.apache.fulcrum.pool.PoolService"
        shorthand="pool"
        default-class="org.apache.fulcrum.pool.DefaultPoolService"/>

    <role
        name="org.apache.fulcrum.factory.FactoryService"
        shorthand="factory"
        default-class="org.apache.fulcrum.factory.DefaultFactoryService"/>

What is the best workaround for this? I can go back to Turbine 2.4 or 4.0-M2 if none exist within M1.

Reply via email to