[Yanel-dev] Yarep jar problem
Josias Thöny
josias.thoeny at wyona.com
Tue Feb 20 18:26:35 CET 2007
Paloma Gomez wrote:
> 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?
The reset() method was added in r22584, so it should be contained in
your jar files. Could it be that somewhere in your yanel there is
another reference to an older yarep jar? (maybe in your user resource)
That's the only idea i'm having right now...
josias
>
> Thanks,
> Paloma
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
More information about the Yanel-development
mailing list