I'm not sure where I need to add a dependency declaration for the ojdbc driver These are the references to oracle pom.xml <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.1</version> <scope>provided</scope> </dependency>
src/test/resources/jdbcproperties jdbc.driverClassName=oracle.jdbc.OracleDriver jdbc.url=oracle:thin:@database.com:1521:dbname jdbc.username=name jdbc.password=pass src/test/resources/testingContext.xml <bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter" p:showSql="true" p:databasePlatform="org.eclipse.persistence.platform.database.OraclePlatform" /> On Sat, Mar 8, 2014 at 11:55 AM, Wayne Fay <wayne...@gmail.com> wrote: > > I updated the ojdbc6-11.2.0.1.pom file (see below) and the 'invalid' > > message did not appear. > > Good. > > > Now there is an error running JUnit tests: No suitable driver found for > > oracle:thin:@dataserver.com:1521:dbname > > Most likely you are missing a dependency declaration for the ojdbc > driver in the module that threw this error during the JUnit execution. > > > I can PING the database in GlassFish Domain Admin Console and view the > > Tables and data in Netbeans | Services | Databases > > What makes you think this has ANYTHING to do Netbeans or Glassfish...? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >