回复 18楼 疯狂的小a
昨天发给我的源码包,让我部署运行环境,我装了eclipse,maven,tomcat,mysql,操作系统是macos,请问会不会是我的配置有问题呢?tomcat本地可以访问,maven安装后也显示成功,mysql安装了可以连接,但是我不清楚哪里出问题了
有梦想,我还有梦想,要提醒自己还有梦(ˇˍˇ) 想~
<?xml version="1.0"?> <project xsi:schemaLocation="http://maven. http://maven. xmlns:xsi="http://www. <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.enation.app.javashop</groupId> <artifactId>javashop</artifactId> <version>6.3.1</version> <relativePath>../</relativePath> </parent> <artifactId>b2c</artifactId> <packaging>war</packaging> <name>b2c Maven Webapp</name> <url>http://maven. <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> <include>**/*.html</include> <include>**/*.css</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </plugin> </plugins> <testResources> <testResource> <directory>src/test/java</directory> <includes> <include>**/*.xml</include> <include>**/*.css</include> <include>**/*.html</include> </includes> </testResource> </testResources> <defaultGoal>compile</defaultGoal> <finalName>b2c</finalName> </build> <dependencies> <!-- 测试框架依赖 --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito</artifactId> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4-rule-agent</artifactId> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-classloading-objenesis</artifactId> </dependency> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock-junit4</artifactId> </dependency> <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> </dependency> <!-- Javashop 工程依赖 --> <dependency> <groupId>com.enation.app.javashop</groupId> <artifactId>core</artifactId> <version>6.3.1</version> </dependency> <dependency> <groupId>com.enation.app.javashop</groupId> <artifactId>shop-core</artifactId> <version>6.3.1</version> </dependency> <dependency> <groupId>com.enation.app.javashop</groupId> <artifactId>cms-core</artifactId> <version>6.3.1</version> </dependency> <!-- 短信网关 --> <dependency> <groupId>com.enation.app.javashop</groupId> <artifactId>zt-sms</artifactId> <version>6.3.1</version> </dependency> <!-- 微信组件 --> <dependency> <groupId>com.enation.app.javashop</groupId> <artifactId>weixin</artifactId> <version>6.3.1</version> </dependency> <!-- servlet --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> </dependencies> </project>