Re: java.lang.NoSuchFieldError: ROLE

Max <maxxam-cuDQgYkrLFxfAa1EqD/[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Shash,

Jyotish predicts my code in suffering under a Sani cycle! ;-).

I managed to get the app working again after restoring my project.xml 
file - something that didn't work under plugin 12 (probably due to the 
project.edited file). It must have something to do with the dependencies 
I had added when fiddling with clnt-axis. I will keep an eye open for 
the pattern if it keeps happening.

Max

> Max,
>
> "Jyotish" should be able to predict everything and know everything :-)
>
> Just kidding.  The error below is strange.  The PoolManager interface, 
> like any other Avalon service interface, defines the "ROLE" for that 
> service.  It almost seems like your PoolManager class/JAR is corrupt 
> (or, maybe the uber JAR is corrupt somehow), taking a wild guess.  If 
> you have ever killed a Maven build while it is downloading 
> dependencies, you can end up with a partial JAR, but the timestamp is 
> newer, so Maven will not download it again.  Try deleting the 
> excalibur-pool directory in your local Maven repo and building again.  
> But, if it works sometimes and not other times, it may be a completely 
> different problem (maybe synchronization problems/race conditions, etc.)
>
> Shash
>
>> I've been getitng this error after making incremental changes to my 
>> project.xml file. I have not yet identified the pattern, but after 
>> several iterations of development I always seem to end up with this 
>> error. First on plugin 12 and now also on plugin 13. I've also 
>> deleted project.bak before performing keel:maven and war.
>>
>> [KeelMetaInfoManager] Initializing
>> java.lang.NoSuchFieldError: ROLE
>>        at 
>> org.apache.avalon.fortress.util.ContextManager.initializePoolManager(
>> ContextManager.java:543)
>>        at 
>> org.apache.avalon.fortress.util.ContextManager.initialize(ContextMana
>> ger.java:245)
>>        at 
>> org.apache.avalon.fortress.impl.DefaultContainerManager.getInitialize
>> dContextManager(DefaultContainerManager.java:87)
>>        at 
>> org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(Defaul
>> tContainerManager.java:74)
>>        at 
>> org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(Defaul
>> tContainerManager.java:68)
>>        at 
>> org.keel.core.container.KeelContainerFactory.getContainerManager(Keel
>> ContainerFactory.java:229)
>>        at 
>> org.keel.core.container.KeelContainerFactory.createContainer(KeelCont
>> ainerFactory.java:624)
>>        at 
>> org.keel.core.container.KeelContainerFactory.createContainer(KeelCont
>> ainerFactory.java:607)
>>        at 
>> org.keel.servers.KeelAbstractServer.initialize(KeelAbstractServer.jav
>> a:126)
>>        at 
>> org.keel.servers.KeelAbstractServer.getContainer(KeelAbstractServer.j
>> ava:106)
>>        at 
>> org.keel.servers.direct.KeelDirectServer.run(KeelDirectServer.java:61
>> )
>>
>> I am also getting these warnings during build (not sure if they are 
>> related):
>>
>>    [copy] Warning: Could not find file 
>> D:\Proj\JyotishApplications\AstroMatch\AstroMatchServer-3.0\logkit.properties 
>> to
>> copy.
>>    [copy] Warning: Could not find file 
>> D:\Proj\JyotishApplications\AstroMatch\AstroMatchServer-3.0\roles.properties 
>> to
>> copy.
>>    [copy] Warning: Could not find file 
>> D:\Proj\JyotishApplications\AstroMatch\AstroMatchServer-3.0\instrument.propertie 
>>
>> s to copy.
>>    [copy] Copying 1 file to 
>> D:\Proj\JyotishApplications\AstroMatch\AstroMatchServer-3.0\target\axis\WEB-INF\lib 
>>
>>
>> I have not found an easy way of getting back to a working build.
>> Thanks for the help,
>> Max
>> http://keelframework.org/documentation.shtml
>> Keelgroup mailing list
>> [email protected]
>> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
>
>
>
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
>
>

http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.