[Gvsig_english] [ gvSIG 2.0 extension development ] DAL Dependencies problem
Jorge Piera Llodrá
jpiera at prodevelop.es
Tue Aug 3 09:09:07 CEST 2010
Hello.
You don't have any implementation of the ICRSFactory in run time while
you are executing your test. Just add to your pom next dependence:
<dependency>
<groupId>org.gvsig</groupId>
<artifactId>org.gvsig.projection</artifactId>
<version>2.0-SNAPSHOT</version>
<classifier>cresques-impl</classifier>
<scope>test</scope>
</dependency>
And try again.
Regards,
Jorge.
On 08/02/2010 05:35 PM, luca bianconi wrote:
> Hi both,
>
> I've tried to enjoy of both your suggestions but I still can't compile
> it. :-(
>
> I've tried to adapt the pom of the project suggested by Joaquin [1]
> but I've got a new error.
> I get it from
> /home/luca/workspace2/org.gvsig.myprov/org.gvsig.myprov.lib/org.gvsig.myprov.lib.impl/target/surefire-reports
> as suggested by Jorge :
>
> /testMyProvServiceMessage(org.gvsig.myprov.impl.DefaultMyProvServiceTest)
> Time elapsed: 0.024 sec <<< ERROR!
> An instance of ICRSFactory has not been registered in the CRSFactory
> at
> org.gvsig.tools.exception.BaseRuntimeException.<init>(BaseRuntimeException.java:73)
> at
> org.cresques.CRSFactoryNotRegisteredException.<init>(CRSFactoryNotRegisteredException.java:46)
> at
> org.cresques.ProjectionLibrary.doPostInitialize(ProjectionLibrary.java:45)
> at
> org.gvsig.tools.library.AbstractLibrary.postInitialize(AbstractLibrary.java:143)
> at
> org.gvsig.tools.library.AbstractLibrariesInitializer.initializeLibraries(AbstractLibrariesInitializer.java:132)
> at
> org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:94)
> at
> org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:84)
> at
> org.gvsig.tools.library.AbstractLibrariesInitializer.fullInitialize(AbstractLibrariesInitializer.java:100)
> at
> org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase.setUp(AbstractLibraryAutoInitTestCase.java:55)
> at junit.framework.TestCase.runBare(TestCase.java:125)
>
>
> /
> Does it make any sense to you ? I felt quite discouraged.
> If anyone has enough patience to help me I could put it on
> https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/TestCode/ExtensionsTests
> . Probably it's a trivial thing for you but it's driving me crazy and
> making me loosing lots of time.
>
> Thanks both for your precious help,
> Luca
>
> [1]
> https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup
> <https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup>
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
--
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: jpiera at prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100803/356e4f7b/attachment.htm
More information about the Gvsig_internacional
mailing list