[Yanel-dev] Yarep jar problem

Paloma Gomez paloma.gomez at wyona.com
Tue Feb 20 18:15:50 CET 2007


Hi all,

I get the following error when I try to access http://127.0.0.1:8080/yanel:

--------------------------------------------------------------------------------------------------------------------

99  2007-02-20 17:15:43,360 [http-8080-Processor24] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/yanel].log():675  
- StandardWrapper.Throwable
java.lang.NoSuchMethodError: org.wyona.yarep.core.RepositoryFactory.reset()V
    at 
org.wyona.yanel.core.map.RealmConfiguration.readRealms(RealmConfiguration.java:128)
    at 
org.wyona.yanel.core.map.RealmConfiguration.<init>(RealmConfiguration.java:97)
    at 
org.wyona.yanel.core.map.RealmConfiguration.<init>(RealmConfiguration.java:71)
    at org.wyona.yanel.core.Yanel.init(Yanel.java:61)
    at org.wyona.yanel.servlet.YanelServlet.init(YanelServlet.java:111)
   [...]
204  2007-02-20 17:15:43,365 [http-8080-Processor24] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/yanel].[YanelServlet].invoke():145  
- Excepción de reserva de espacio para servlet YanelServlet
java.lang.NoSuchMethodError: org.wyona.yarep.core.RepositoryFactory.reset()V
    at 
org.wyona.yanel.core.map.RealmConfiguration.readRealms(RealmConfiguration.java:128)
    at 
org.wyona.yanel.core.map.RealmConfiguration.<init>(RealmConfiguration.java:97)
    at 
org.wyona.yanel.core.map.RealmConfiguration.<init>(RealmConfiguration.java:71)
    at org.wyona.yanel.core.Yanel.init(Yanel.java:61)
   [...]

---------------------------------------------------------------------------------------------------------------------

The offending line can be found in RealmConfiguration.java:

RepositoryFactory repoFactory = 
yanel.getRepositoryFactory("DefaultRepositoryFactory");
repoFactory.reset();


I have tried removing the jars from .m2 and downloading them again:

--------------------------------------------------------------------------------------------------------------------------------
dependencies:
[artifact:dependencies] Downloading: 
yarep/yarep-impl/0.0.1-dev-r22672/yarep-impl-0.0.1-dev-r22672.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: 
yarep/yarep-impl/0.0.1-dev-r22672/yarep-impl-0.0.1-dev-r22672.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed 
on download: local = 'bcec231efdd0059a6cb05707867ca16f'; remote = 
'd41d8cd98f00b204e9800998ecf8427e' - IGNORING
[artifact:dependencies] Downloading: 
yarep/yarep-core/0.0.1-dev-r22584/yarep-core-0.0.1-dev-r22584.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: 
yarep/yarep-impl/0.0.1-dev-r22672/yarep-impl-0.0.1-dev-r22672.jar
[artifact:dependencies] Transferring 83K
[artifact:dependencies] Downloading: 
yarep/yarep-core/0.0.1-dev-r22584/yarep-core-0.0.1-dev-r22584.jar
[artifact:dependencies] Transferring 17K
-----------------------------------------------------------------------------------------------------------------------------------------

As you can see the core revision number and the impl revision number are 
not the same.
Could that be the problem?

I have also tried checking out yarep:
sh build.sh install-jar

The revision numbers I get in this case are the same: 22584

I have tried using this jars and it didn't work either.

Any hints?

Thanks,
Paloma



More information about the Yanel-development mailing list