Latest trunk IncompatibleClassChangeError on startofbiz.sh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Latest trunk IncompatibleClassChangeError on startofbiz.sh

chris snow
I have just done a svn update, then ant run and I am receiving the following error:  Any ideas?

    [java] Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.ofbiz.entity.GenericDelegator, but class was expected
     [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:43)
     [java] at org.ofbiz.entity.DelegatorImpl.<init>(DelegatorImpl.java:171)
     [java] at org.ofbiz.entity.DelegatorFactory.getGenericDelegator(DelegatorFactory.java:40)
     [java] at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:172)
     [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
     [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
     [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259)
     [java] at org.ofbiz.base.start.Start.init(Start.java:97)
     [java] at org.ofbiz.base.start.Start.main(Start.java:408)
     [java] Java Result: 1

BUILD SUCCESSFUL

snowch@ac:~/Desktop/ofbiz.trunk/ofbiz$ svn update
At revision 802920.

Reply | Threaded
Open this post in threaded view
|

Re: Latest trunk IncompatibleClassChangeError on startofbiz.sh

Adrian Crum
run ant clean, then ant build.

-Adrian

snowc wrote:

> I have just done a svn update, then ant run and I am receiving the following
> error:  Any ideas?
>
>     [java] Exception in thread "main"
> java.lang.IncompatibleClassChangeError: Found interface
> org.ofbiz.entity.GenericDelegator, but class was expected
>      [java] at
> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:43)
>      [java] at
> org.ofbiz.entity.DelegatorImpl.<init>(DelegatorImpl.java:171)
>      [java] at
> org.ofbiz.entity.DelegatorFactory.getGenericDelegator(DelegatorFactory.java:40)
>      [java] at
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:172)
>      [java] at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>      [java] at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>      [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259)
>      [java] at org.ofbiz.base.start.Start.init(Start.java:97)
>      [java] at org.ofbiz.base.start.Start.main(Start.java:408)
>      [java] Java Result: 1
>
> BUILD SUCCESSFUL
>
> snowch@ac:~/Desktop/ofbiz.trunk/ofbiz$ svn update
> At revision 802920.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Latest trunk IncompatibleClassChangeError on startofbiz.sh

chris snow
That fixed the problem.  Thanks!

Adrian Crum wrote
run ant clean, then ant build.

-Adrian

snowc wrote:
> I have just done a svn update, then ant run and I am receiving the following
> error:  Any ideas?
>
>     [java] Exception in thread "main"
> java.lang.IncompatibleClassChangeError: Found interface
> org.ofbiz.entity.GenericDelegator, but class was expected
>      [java] at
> org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:43)
>      [java] at
> org.ofbiz.entity.DelegatorImpl.<init>(DelegatorImpl.java:171)
>      [java] at
> org.ofbiz.entity.DelegatorFactory.getGenericDelegator(DelegatorFactory.java:40)
>      [java] at
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:172)
>      [java] at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>      [java] at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>      [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259)
>      [java] at org.ofbiz.base.start.Start.init(Start.java:97)
>      [java] at org.ofbiz.base.start.Start.main(Start.java:408)
>      [java] Java Result: 1
>
> BUILD SUCCESSFUL
>
> snowch@ac:~/Desktop/ofbiz.trunk/ofbiz$ svn update
> At revision 802920.
>
>