eclipse项目中maven管理的项目tomcat重启后自动的不断重新启动的问题
maven
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
项目地址:https://gitcode.com/gh_mirrors/ma/maven
免费下载资源
·
在一个项目中突然就发生了这样的错误:项目启动完成后过了1秒钟左右,tomcat重新启动,此过程一直没有报错。只是在最后报一个java.lang.OutOfMemoryError: PermGen space的错误。开始以为是项目中的某个配置文件弄错了,于是将项目删除重新从svn上检出一个新的。结果发现任然报那个错。于是认为eclipse的某个文件配置错误,或者损坏,将eclipse删除重新整合后还是出现那个错误。于是认为tomcat有问题,把tomcat重装后仍然出现那个错误。
在网上找了好久,才找到一个网址:http://dev.firnow.com/course/3_program/java/javajs/20100719/455353.html
上面说是由于包的损坏导致的错误,看了一下发现有几个包出现了以上图片信息Additional jars have been added:‘cglib-2.2.jar’。开始的时候在maven上查找的时候都能找到,没有考虑这方面的情况。看了这个以后,在 repository文件里找到原文件打开看时,提示已经损坏。于是把那个删除,用maven重新下载之后问题就解决了!
项目中hibernate的对应关系配置,
GitHub 加速计划 / ma / maven
4.29 K
2.65 K
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:18 天前 )
2d224623
With the introduction of the build pom and raw -> build pom transformation, the construction of the effective poms in two steps become very problematic. Over the time, multiple caches have been added to the ProjectBuilder and ModelBuilder related classes which are often redundant.
This PR thus changes things and move the recursive construction of the models fully into the ModelBuilder in a single call. When building build poms, a first step is done by parsing the file models from the root, then building all needed effective models from those. All the inference can be cleanly done because the builder has all the file models ready. The result will be used by the ProjectBuilder to build the projects.
14 小时前
2c6846b0
Just a simple PR to make properties file a "properties file"
as majority would expect. According to spec '=', ':', or white space
can be delimiter and this file IS valid, but still, users my
be surprised, or tools like IDEs may misinterpret this,
otherwise valid Java Properties File. 4 天前
更多推荐
已为社区贡献1条内容
所有评论(0)