博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JEECMSV9导入IDEA,经历一番折腾,终于可以了。
阅读量:6830 次
发布时间:2019-06-26

本文共 31694 字,大约阅读时间需要 105 分钟。

JEECMSV9导入IDEA默认是不可以正常调试打包的,打包出来的,也会因为缺少一些配置文件或jar包而在运行期出错。

但是本人自从用惯了IDEA后,再让我使用Eclipse,总是心理难以接受,两个工具在使用便利性和开发效率方面还是有差距的。于是经历一番折腾,终于解决了这里面种种问题,现在终于可以正常调试运行了。

这里面主要问题是出在pom.xml配置文件里。

通过我修改后的pom.xml文件如下,大家可以对照着原来的版本看一下差别所在:

 

4.0.0
com.jeecms
jeecmsv9
war
9.0
http://www.jeecms.com
jeecmsv9
jeecms
http://www.jeecms.com/
1.7
8.0.47
3.0.1
UTF-8
1.4.0
3.0.3
1.0.2
2.7.7
1.0
1.8.4
1.8.12
1.4
0.9.5.2
2.2.2
1.4
1.11
3.2.2
0.5
1.3.3
2.6
1.2
2.2
1.6.1
1.1.5
2.6.11
1.0.6
4.5.3
4.4.8
1.7.25
3.22.0-GA
2.3.25-incubating
4.0.5.Final
4.3.11.Final
1.0.0.Final
1.6
3.3.1.Final
1.0
1.1.3
6.6.9
1.6.0
20171018
5.1.44
2.1.7
1.1
3.2.1
1.2.3
4.3.16.RELEASE
1.5.3
2.3.0
1.45
2.8.2
2.3
2.7.4
2.7.4
2.7.4
D:\lib\jeecmsv9-lib
com.fasterxml.jackson.core
jackson-core
${jackson-core.version}
com.fasterxml.jackson.core
jackson-databind
${jackson-databind.version}
com.fasterxml.jackson.core
jackson-annotations
${jackson-annotations.version}
joda-time
joda-time
${joda-time.version}
junit
junit
3.8.1
test
antlr
antlr
${antlr.version}
aopalliance
aopalliance
${aopalliance.version}
org.apache.ant
ant
${ant.version}
org.aspectj
aspectjrt
${aspectj.version}
org.aspectj
aspectjweaver
${aspectj.version}
org.apache.axis
axis
${axis.version}
org.apache.axis
axis-jaxrpc
${axis.version}
com.mchange
c3p0
${c3p0.version}
cglib
cglib-nodep
${nodep.version}
commons-cli
commons-cli
${commons-cli.version}
commons-codec
commons-codec
${commons-codec.version}
commons-collections
commons-collections
${commons-collections.version}
commons-discovery
commons-discovery
${commons-discovery.version}
commons-fileupload
commons-fileupload
${commons-fileupload.version}
commons-io
commons-io
${commons-io.version}
commons-lang
commons-lang
${commons-io.version}
commons-logging
commons-logging
${commons-logging.version}
commons-net
commons-net
${commons-net.version}
dom4j
dom4j
${dom4j.version}
com.alibaba
druid
${druid.version}
net.sf.ehcache
ehcache-core
${ehcache-core.version}
net.sf.ezmorph
ezmorph
${ezmorph.version}
org.apache.httpcomponents
fluent-hc
${httpclient.version}
org.freemarker
freemarker
${freemarker.version}
org.hibernate.common
hibernate-commons-annotations
${hibernate-commons-annotations.version}
org.hibernate
hibernate-core
${hibernate.version}
org.hibernate
hibernate-ehcache
${hibernate.version}
org.hibernate.javax.persistence
hibernate-jpa-2.1-api
${hibernate-jpa.version}
org.htmlparser
htmlparser
${htmlparser.version}
org.apache.httpcomponents
httpclient
${httpclient.version}
org.apache.httpcomponents
httpclient-cache
${httpclient.version}
org.apache.httpcomponents
httpcore
${httpcore.version}
org.apache.httpcomponents
httpmime
${httpclient.version}
org.javassist
javassist
${javassist.version}
org.jboss.logging
jboss-logging
${jboss-logging.version}
org.slf4j
log4j-over-slf4j
${slf4j.version}
com.github.qcloudsms
sms
0.9.2
org.slf4j
jcl-over-slf4j
${slf4j.version}
org.slf4j
slf4j-api
${slf4j.version}
org.jdom
jdom
${jdom.version}
jmagick
jmagick
${jmagick.version}
provided
org.json
json
${json.version}
javax.transaction
jta
${jta.verson}
org.openoffice
juh
${openoffice.version}
org.openoffice
jurt
${openoffice.version}
org.openoffice
ridl
${openoffice.version}
org.openoffice
unoil
${openoffice.version}
ch.qos.logback
logback-classic
${logback.version}
test
ch.qos.logback
logback-core
${logback.version}
org.apache.lucene
lucene-core
${lucene.version}
org.apache.lucene
lucene-highlighter
${lucene.version}
com.sun.mail
mailapi
${mailapi.version}
mysql
mysql-connector-java
${mysql.version}
org.quartz-scheduler
quartz
${quartz.version}
c3p0
c3p0
org.apache.shiro
shiro-cas
${shiro.version}
org.apache.shiro
shiro-core
${shiro.version}
org.apache.shiro
shiro-web
${shiro.version}
org.apache.shiro
shiro-ehcache
${shiro.version}
org.apache.shiro
shiro-spring
${shiro.version}
org.apache.shiro
shiro-lang
${shiro.version}
org.apache.shiro
shiro-crypto-hash
${shiro.version}
org.apache.shiro
shiro-crypto-cipher
${shiro.version}
org.apache.shiro
shiro-config-core
${shiro.version}
org.apache.shiro
shiro-config-ogdl
${shiro.version}
org.apache.shiro
shiro-event
${shiro.version}
com.sun.mail
smtp
${mailapi.version}
org.springframework
spring-aop
${spring.version}
org.springframework
spring-aspects
${spring.version}
org.springframework
spring-beans
${spring.version}
org.springframework
spring-context
${spring.version}
org.springframework
spring-context-support
${spring.version}
org.springframework
spring-core
${spring.version}
org.springframework
spring-expression
${spring.version}
org.springframework
spring-jdbc
${spring.version}
org.springframework
spring-orm
${spring.version}
org.springframework
spring-tx
${spring.version}
org.springframework
spring-web
${spring.version}
org.springframework
spring-webmvc
${spring.version}
wsdl4j
wsdl4j
${wsdl4j.version}
com.google.zxing
core
${zxing.version}
org.bouncycastle
bcprov-jdk16
${bouncycastle.version}
com.google.code.gson
gson
${gson.version}
com.qcloud
cos_api
4.6
org.slf4j
slf4j-log4j12
com.aliyun.oss
aliyun-sdk-oss
2.8.2
com.qiniu
qiniu-java-sdk
[7.2.0, 7.2.99]
com.baidubce
bce-java-sdk
0.10.28
local
jcaptcha
${jcaptcha.version}
system
${local-lib.path}/jcaptcha-1.0.jar
local
jcaptcha-api
${jcaptcha.version}
system
${local-lib.path}/jcaptcha-api-1.0.jar
local
activation
${activation.version}
system
${local-lib.path}/activation-1.0.2.jar
local
IKAnalyzer
2012_u6
system
${local-lib.path}/IKAnalyzer2012_u6.jar
local
jodconverter
2.2.2
system
${local-lib.path}/jodconverter-2.2.2.jar
local
jodconverter-cli
2.2.2
system
${local-lib.path}/jodconverter-cli-2.2.2.jar
local
jodconverter-core
3.0-beta-4
system
${local-lib.path}/jodconverter-core-3.0-beta-4.jar
local
db2jcc
1.4.2
system
${local-lib.path}/db2jcc.jar
local
ojdbc
11.2.0.4.0
system
${local-lib.path}/ojdbc6.jar
local
sqljdbc
1.0
system
${local-lib.path}/sqljdbc.jar
local
commons-net-ftp
2.0
system
${local-lib.path}/commons-net-ftp-2.0.jar
local
alipay-sdk-java
20160912120058
system
${local-lib.path}/alipay-sdk-java20160912120058.jar
local
aliyun-java-sdk-core
3.3.1
system
${local-lib.path}/aliyun-java-sdk-core-3.3.1.jar
com.aliyun
aliyun-java-sdk-dysmsapi
1.0.0
local
ganymed-ssh2-build
251beta1
system
${local-lib.path}/ganymed-ssh2-build251beta1.jar
local
spymemcached
2.3.1
system
${local-lib.path}/spymemcached-2.3.1.jar
local
jug
2.0.0
system
${local-lib.path}/jug-2.0.0.jar
local
json-lib
2.3
system
${local-lib.path}/json-lib.jar
local
memcachedclient
2.0.1
system
${local-lib.path}/memcachedclient-2.0.1.jar
org.apache.httpcomponents
httpcore-nio
4.3.2
org.apache.httpcomponents
httpasyncclient
4.0.2
org.jsoup
jsoup
1.7.3
commons-beanutils
commons-beanutils
1.9.3
org.apache.tomcat
tomcat-juli
${tomcat.version}
provided
javax.servlet
javax.servlet-api
${servlet-api.version}
provided
org.apache.maven.plugins
maven-eclipse-plugin
2.9
net.fuxiyun.ke
shuyuan-rpc
1.0
jeecmsv9
org.apache.maven.plugins
maven-compiler-plugin
2.3.2
1.7
1.7
UTF-8
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
8081
UTF-8
tomcat7
false
true
cms.6655.la
org.apache.maven.plugins
maven-dependency-plugin
2.10
copy-dependencies
compile
copy-dependencies
${project.build.directory}/${project.build.finalName}/WEB-INF/lib
system
src/main/java
**/hbm/common/*.xml
*.xml
**/*.properties
true
src/main/resources
**/*.xml
**/*.properties
jeecms是企业级开源网站内容管理系统,支持网站群,支持MySQL、Oracle、SQLServer等数据库,以及具备支付和财务结算能力,支持微信小程序、微信公众号/服务号、完善的WebApi支持

 

 需要特别说明的几点:

1、local-lib.path这个变量,是把原来存放在\src\main\webapp\WEB-INF\lib\目录下的jar包挪了个地方,该变量就是指向新的存放位置,主要是为了消除maven编译时的警告消息,尽管那些警告也不影响运行。

 

使用maven-dependency-plugin插件,在打包时会把local-lib.path所指向的目录里的jar包拷贝到target的lib目录下。

org.apache.maven.plugins
maven-dependency-plugin
2.10
copy-dependencies
compile
copy-dependencies
${project.build.directory}/${project.build.finalName}/WEB-INF/lib
system

 

maven-dependency-plugin

转载于:https://www.cnblogs.com/miaoyinruanjian/p/9836129.html

你可能感兴趣的文章
DNGuard Enterprise v2.80 released
查看>>
WPP
查看>>
C# GetSchema Get List of Table 获取数据库中所有的表名以及表中的纪录条数的方法
查看>>
PySide教程:“.NET研究”第一个PySide应用
查看>>
winrar自解压释放路径详解
查看>>
图像开运算+闭运算+腐蚀+膨胀
查看>>
poj-1324 Holedox Moving **** [转]
查看>>
深入foreach工作方式
查看>>
UIView 进行各种动画展示及其用法解释
查看>>
公布2012年5月赛CSDN算法达人赛试题及参考答案
查看>>
Mysql ON子句和USING子句
查看>>
linux杂谈
查看>>
类型、值和变量
查看>>
UIImage+Scale
查看>>
Linux sed 替换第一次出现的字符串
查看>>
windows 下VLC播放器应用之二------LIBVLC API解析
查看>>
web页面常用功能js实现
查看>>
Android开发中SharedPreferences的应用
查看>>
一步步构建大型网站架构
查看>>
[转载]jquery 动态滚动
查看>>