只显示主题贴
mvn -o jetty:run 启动jetty时
[INFO] Starting jetty 6.1.6 ...
2008-04-23 15:08:02.064::INFO: jetty-6.1.6
2008-04-23 15:08:03.376::INFO: No Transaction manager found - if your webapp re
quires one, please configure one.
这句 “No Transaction manager found - if your webapp requires one, please configure ...
- 进入论坛 入门讨论 版
private static String url = "jdbc:mysql://localhost:3306/test";
private static String username = "root";
private static String password = "";
public static Connection getConn() throws Exception {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Connection con = DriverMa ...
- 进入论坛 入门讨论 版
我使用maven2 来管理项目, 在执行 mvn jetty:run 时会自动执行test ,请问如何让jetty启动时不运行测试.因为我执行测试会重新生成数据库
我的maven-jetty-plugin 以及hibernate3-maven-plugin,dbunit-maven-plugin 配置如下
pom.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
...
- 进入论坛 入门讨论 版
我使用maven2 来管理项目, 在执行 mvn jetty:run 时会自动执行test ,请问如何让jetty启动时不运行测试.因为我执行测试会重新生成数据库
我的maven-jetty-plugin 以及hibernate3-maven-plugin,dbunit-maven-plugin 配置如下
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.0-alpha-1< ...
- 进入论坛 入门讨论 版







评论排行榜