For which?

Note that in my pom.xml, I already updated hibernate too.

<dependency>
<groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-hibernate-core</artifactId>
<version>5.3.4</version>
</dependency>

Was this that you were talking about?

2012/8/21 Robert Zeigler <robert.zeig...@roxanemy.com>

> Try overriding the version of hibernate. tapestry-hibernate changed it's
> hibernate dependency version between T5.1 and T5.3. In my experience, at
> least with T5.2.x, tapestry-hibernate will work fine with the version of
> hibernate supplied used with 5.1, but later hibernate versions may not play
> well with your app.
>
> Robert
>
> On Aug 21, 2012, at 8/211:35 PM , William Lopes wrote:
>
> > Hi guys.
> >
> > So, I already have a app done and working fine, even it be in the version
> > of the tapestry 5.1.0.5. Yesterday, talking with my supervisor, we decide
> > to update tapestry for last version.
> >
> > I applied the update and worked, but can't connect with db.
> >
> > Returning for me this error at to log (this is the first task that
> involve
> > db):
> >
> > org.apache.tapestry5.runtime.ComponentEventException
> > Error invoking method public static
> > org.apache.tapestry5.hibernate.HibernateSessionManager
> >
> org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager(org.apache.tapestry5.hibernate.HibernateSessionSource,org.apache.tapestry5.ioc.services.PerthreadManager):
> > Exception constructing service 'HibernateSessionSource': Error invoking
> > constructor public
> >
> org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl(org.slf4j.Logger,java.util.List):
> > Could not instantiate connection provider:
> > org.hibernate.connection.C3P0ConnectionProvider
> >
> > What do it?
> >
> > My pom.xml:
> >
> > <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> >> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> >> http://maven.apache.org/POM/4.0.0
> >> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> >>  <modelVersion>4.0.0</modelVersion>
> >>  <groupId>br.cnt.aas.material</groupId>
> >>  <artifactId>MaterialAnpad</artifactId>
> >>  <version>0.0.1-SNAPSHOT</version>
> >> <dependencies>
> >>   <dependency>
> >>     <groupId>javax.servlet</groupId>
> >>     <artifactId>servlet-api</artifactId>
> >>     <version>2.5</version>
> >>     <scope>provided</scope>
> >>   </dependency>
> >> <dependency>
> >> <groupId>mysql</groupId>
> >> <artifactId>mysql-connector-java</artifactId>
> >> <version>5.1.21</version>
> >> </dependency>
> >> <dependency>
> >> <groupId>org.apache.tapestry</groupId>
> >> <artifactId>tapestry-core</artifactId>
> >> <version>5.3.4</version>
> >> </dependency>
> >> <dependency>
> >> <groupId>org.apache.tapestry</groupId>
> >> <artifactId>tapestry-hibernate-core</artifactId>
> >> <version>5.3.4</version>
> >> </dependency>
> >> <dependency>
> >> <groupId>bsf</groupId>
> >> <artifactId>bsf</artifactId>
> >> <version>2.4.0</version>
> >> <type>jar</type>
> >> <scope>compile</scope>
> >> </dependency>
> >> <dependency>
> >> <groupId>javax.mail</groupId>
> >> <artifactId>mail</artifactId>
> >> <version>1.4.5</version>
> >> </dependency>
> >> <dependency>
> >> <groupId>junit</groupId>
> >> <artifactId>junit</artifactId>
> >> <version>4.10</version>
> >> <scope>test</scope>
> >> </dependency>
> >> <dependency>
> >> <groupId>org.apache.tapestry</groupId>
> >> <artifactId>tapestry-test</artifactId>
> >> <version>5.3.4</version>
> >> <type>jar</type>
> >> <scope>compile</scope>
> >> </dependency>
> >> </dependencies>
> >>
> >> <repositories>
> >> <repository>
> >> <id>apache</id>
> >> <url>http://repo1.maven.org/maven2/</url>
> >> </repository>
> >> </repositories>
> >>
> >> <build>
> >> <finalName>MaterialAnpad</finalName>
> >> <plugins>
> >> <plugin>
> >> <artifactId>maven-compiler-plugin</artifactId>
> >> <configuration>
> >> <source>1.6</source>
> >> <target>1.6</target>
> >> </configuration>
> >> </plugin>
> >>
> >> <!-- Run the application using "mvn jetty:run" -->
> >>            <plugin>
> >>            <groupId>org.mortbay.jetty</groupId>
> >>            <artifactId>jetty-maven-plugin</artifactId>
> >>            <version>8.1.4.v20120524</version>
> >>                <configuration>
> >>                <webAppSourceDirectory>WebContent</webAppSourceDirectory>
> >>                </configuration>
> >>            </plugin>
> >> </plugins>
> >> </build>
> >> </project>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to