今天更新了最新版的Eclipse luna 4.4版本,svn更新了项目后,系统一直报错,经查看在Problems窗口中发现一堆错误,提示如下:

    Unbound classpath variable: 'M2_REPO/aopalliance/aopalliance/1.0/aopalliance‘ ...
    经过查看是Eclipse不识别M2_REPO这个参数,其实这些jar包都下载到了本地repository中,只要在Eclipse->Windows->Preferences->java->Build Path->Classpath Variables 中添加参数“M2_REPO”,属性选择“folder”,指向“C:\Users\Administrator\.m2\repository”保存,ok,问题解决了╮(╯▽╰)╭
GitHub 加速计划 / ma / maven
36
3
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:2 个月前 )
29349bb8 Bumps [net.sourceforge.pmd:pmd-core](https://github.com/pmd/pmd) from 7.19.0 to 7.20.0. - [Release notes](https://github.com/pmd/pmd/releases) - [Commits](https://github.com/pmd/pmd/compare/pmd_releases/7.19.0...pmd_releases/7.20.0) --- updated-dependencies: - dependency-name: net.sourceforge.pmd:pmd-core dependency-version: 7.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 14 小时前
74ef1276 Maven 4.x introduces a unified <sources> element that supports modular project layouts (src/<module>/<scope>/<lang>). However, resource handling did not follow the modular layout - resources were always loaded from the legacy <resources> element which defaults to src/main/resources. This change implements automatic module-aware resource injection: - Detect modular projects (projects with at least one module in sources) - For modular projects without resource configuration in <sources>, automatically inject resource roots following the modular layout: src/<module>/main/resources and src/<module>/test/resources - Resources configured via <sources> take priority over legacy <resources> - Issue warnings (as ModelProblem) when explicit legacy resources are ignored Example: A project with modular sources for org.foo.moduleA will now automatically pick up resources from: - src/org.foo.moduleA/main/resources - src/org.foo.moduleA/test/resources This eliminates the need for explicit maven-resources-plugin executions when using modular project layouts. 2 天前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐