-
Notifications
You must be signed in to change notification settings - Fork 0
renhengli518/springmvcMybatis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
When you check out this project.Maybe you will find it has some problems.But dou't be afraid.Beacuse every problem also has it's due method.Now i will give you some problems you will find.Just do this below. 1.First,you should modify the jdbc.properties,because this is my config.You should connect your own datasource.But this project i use oracle. so , it maybe has a problem, as oracle ojdbc14-10.2.0.4.0.jar has not give the right to maven. so we should download it. Do like this below: 1.download ojdbc14.jar then rename it as "ojdbc14-10.2.0.4.0.jar"; 2. open cmd and run : mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 - Dpackaging=jar -Dfile=ojdbc14-10.2.0.4.0.jar 3.copy ojdbc14-10.2.0.4.0.jar to C:\Users\renhengli\.m2\repository\com\oracle\ojdbc14\10.2.0.4.0(this is your maven repository) 4.open pom.xml and add this code: <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId> <version>10.2.0.4.0</version> </dependency> Now this problem may be resolved. If you use mysql database. you will do this : open pom.xml and add this code : <!-- MySql 5.5 Connector --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.15-bin</version> </dependency> At last , i want to tell you , may be it will has new problem in your local environment.Just do it, this i will not display all. Thank you ! Good Luck! Below,i will tell you how to use baidu ueditor. 1.download baidu ueditor from http://ueditor.baidu.com/. 2.copy ueditor->jsp->lib->json.jar and ueditor-1.1.1.jar to WEB-INF->lib 3.open pom.xml , add this code : <dependency> <groupId> com.baidu.ueditor </groupId> <artifactId> ueditor </artifactId> <version> 1.1.1 </version > <scope> system </scope > <systemPath> ${basedir}/src/main/webapp/WEB-INF/lib/ueditor-1.1.1.jar </systemPath> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20141113</version> <scope> system </scope > <systemPath> ${basedir}/src/main/webapp/WEB-INF/lib/json.jar </systemPath> </dependency> 4.modify ueditor->jsp->config.json: "imageUrlPrefix": "/study", /* 图片访问路径前缀 */ 2015-09-02 add json convert This version i add some demo about json convert to other type.You can see the file "test.java". During xml convert to json and json convert to xml , we should add new jar xom.jar. you can add this code below to pom.xml: <!-- json xml 转换 --> <dependency> <groupId>xom</groupId> <artifactId>xom</artifactId> <version>1.2.5</version> </dependency>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published