you should not have deleted your local repository :)

there are several dependencies used by hibernate (jms, jpa)
that are not available via a maven repository. therefore you 
have to download those and install them manually in your 
repository.

if you do "mvn clean install" maven will spit out the missing
dependencies and the instructions how to install them

g,
kris




[EMAIL PROTECTED] 
25.09.2008 16:38
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
T5: config problem with move to 5.0.15







This is probably some silly problem and it isn't really Tapestry 
related (sorry :-(  ), but I'm getting so flummoxed I thought I'd ask 
here...

I deleted my .m2 repository and changed the POM to get Tap 5.0.15 plus 
added a dependency to get tapestry-spring. In Eclipse I then did a 
Maven update, cleaned and rebuilt my project. Now I get lots of errors 
caused by javax.persistance not being available instead of my 
beautifully building system.

Any ideas?  Which jar file is this located in (I know it comes with 
J2EE, but I've been using jdk1.6 and it appears not to be there, so it 
must have d/l'ded with something else via Maven...)


FWIW, here is my dependency section:

- <dependencies>
- <dependency>
   <groupId>org.apache.tapestry</groupId>
   <artifactId>tapestry-core</artifactId>
   <version>${tapestry-release-version}</version>
   </dependency>
- <!--
  A dependency on either JUnit or TestNG is required, or the surefire 
plugin (which runs the tests)
will fail, preventing Maven from packaging the WAR. Tapestry includes 
a large number
of testing facilities designed for use with TestNG 
(http://testng.org/), so it's recommended.

   -->
- <dependency>
   <groupId>org.testng</groupId>
   <artifactId>testng</artifactId>
   <version>5.1</version>
   <classifier>jdk15</classifier>
   <scope>test</scope>
   </dependency>
- <dependency>
   <groupId>org.apache.tapestry</groupId>
   <artifactId>tapestry-hibernate</artifactId>
   <version>${tapestry-release-version}</version>
   </dependency>
- <dependency>
   <groupId>org.apache.tapestry</groupId>
   <artifactId>tapestry-spring</artifactId>
   <version>${tapestry-release-version}</version>
   </dependency>
- <dependency>
   <groupId>mysql</groupId>
   <artifactId>mysql-connector-java</artifactId>
   <version>5.1.5</version>
   </dependency>
- <dependency>
   <groupId>org.apache.tapestry</groupId>
   <artifactId>t5c-commons</artifactId>
   <version>0.5.13</version>
   </dependency>
- <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring</artifactId>
   <version>2.5.5</version>
   </dependency>
- <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-mock</artifactId>
   <version>2.0.3</version>
   </dependency>
- <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-web</artifactId>
   <version>1.2.8</version>
   </dependency>
   </dependencies>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to