Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the

news/2025/3/26 16:52:08/

今天在写项目的时候突然发现eclipse创建不了web项目了,但是之前写的web项目能用 就很奇怪
在这里插入图片描述
然后在网上找解决方法,只找到了在eclipse Maven配置中添加新的Catalog配置:
http://repo1.maven.org/maven2/archetype-catalog.xml
但是还是不管用

问题已经解决

方法是你先删掉现在本地仓库中的maven-archetype-webapp 这个包然后创建项目,让maven自动从远程仓库获取该包。

在这里非常感谢 !!!! Rever Blog


http://www.ppmy.cn/news/627149.html

相关文章

什么是Blazor?

Blazor是单页应用程序开发框架。 Blazor名称是Browser和Razor(.NET HTML视图生成引擎)一词的组合/突变。含义是Blazor不必在服务器上执行Razor视图才能将HTML呈现给浏览器,而是能够在客户端上执行这些视图。 Blazor还支持在服务器上执行SPA。…

Razor Templating Engine

最近遇到html模板解析,我完全可以用MS的T4模板或者是StringTemplate等其他的模板来做,但是出于尝试和对Razor语发的感兴趣,便翻了翻Razor模板的资料,其CodePlex主页http://razorengine.codeplex.com/。 下面讲的都是一些其主页上面…

Blade模板引擎

不限制在view中使用PHP原生代码 section 定义一个片段 yield() 占位符 在 *.blade.php 中引用布局文件 extends(layouts) layouts.blade.php 文件中代码 <!DOCTYPE html> <html> <head><title>轻松学会laravel - yield(title)</title> &l…

好玩的横版射击游戏介绍:Broforce武装原型 for mac

为大家推荐一款非常好玩的横版射击游戏&#xff0c;Broforce武装原型 for mac提供了单人模式和合作模式&#xff0c;每一关都有一个恶魔boss&#xff0c;在武装原型破解版中&#xff0c;玩家将操控角色向沿途的敌人发动攻击&#xff0c;也可以使用机关枪消灭敌人&#xff0c;赶…

Alchemy

步骤&#xff1a;1、下载下载之前&#xff0c;说一下这几个软件的关系&#xff0c;便于理解。看图&#xff0c;就是我的理解。Alchemy下载页面&#xff08;点此直接下载文件&#xff09;&#xff1a; http://labs.adobe.com/downloads/alchemy.htmlJava(JRE)下载页面&#xff1…

A. Arena of Greed

链接&#xff1a;https://codeforces.com/problemset/problem/1425/A Lately, Mr. Chanek frequently plays the game Arena of Greed. As the name implies, the games goal is to find the greediest of them all, who will then be crowned king of Compfestnesia. The ga…

Archer

CF上的一道题&#xff0c;就是求赢的概率。 #include<iostream> #include<cstdio> #include<cmath> #include<cstdlib> #include<iomanip> #include<algorithm> #include<cctype> #include<stack> #include<queue> #inc…

blade

Laravel 框架中的 Blade 模板引擎&#xff0c;很好用&#xff0c;但是在官方文档中有关 Blade 的介绍并不详细&#xff0c;有些东西没有写出来&#xff0c;而有些则是没有说清楚。比如&#xff0c;使用中可能会遇到这样的问题&#xff1a; 1.yield 和 section 都可以预定义可替…