maven创建web报Unable to create project from archetype

错误提示图片说明图片说明
maven 版本apache-maven-3.1.1
eclipse 版本eclipse-jee-luna-SR1-win32-x86_64
JDK版本 jdk-6u45-windows-x64
发现maven的仓库中maven-archetype-webapp的\RELEASE中只有一个m2e-lastUpdated.properties文件没有jar包和其它文件

1个回答

问题出在项目的workspace下有一个我备份的POM.xml文件,造成了M2eclipse插件的误解
http://blog.csdn.net/yang_734664103/article/details/15783745

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
创建maven项目报错了,怎么解决
unable to create project from archetype Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE] The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:1.1)
ideal2019 下载完maven 报错 Unable to import Maven project
![图片说明](https://img-ask.csdn.net/upload/201909/13/1568305455_951960.png) 当我下载完成mavn后 本地仓库也配置了包括我的cmd窗口进去以后查看maven版本也没有问题,创建spring boot也没有问题,但是当我创建maven webapp时候就报这个错误,在网上找了差不多有三个小时了,没有我需要的答案,想请教各位到底是什么原因,上图是我的ideal错误日志中看见的,求大佬给一个合理的解决方案,感谢不止!
Myeclipse8.6 maven创建时报错,Failed to create project
java.lang.NullPointerException at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.findWebRoot(MyEclipseProjectSupport.java:204) at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configureWebProject(MyEclipseProjectSupport.java:71) at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configure(MyEclipseProjectSupport.java:57) at org.maven.ide.eclipse.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:57) at org.maven.ide.eclipse.internal.project.GenericLifecycleMapping.configure(GenericLifecycleMapping.java:48) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:332) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:267) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:175) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:498) at org.maven.ide.eclipse.wizards.MavenProjectWizard$5.runInWorkspace(MavenProjectWizard.java:279) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Maven创建项目报错,archetype:create创建报错
使用mvn archetype:create创建maven的web项目报错。 ``` mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=myWebApp -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false ``` 各位大神们看看什么问题呀! 然而使用mvn archetype:generate创建maven的web项目就可以顺利创建。但是所费时间较长大概40秒左右吧 错误: ![图片说明](https://img-ask.csdn.net/upload/201602/03/1454489967_604743.png)
IDEA 的maven出错 Unable to import maven project
maven也自己下了,配置也都照着网上配了,环境变量什么的都弄了,IDEA的maven也照着网上配了 这是错误日志 java.lang.RuntimeException: Cannot reconnect. at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82) at org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:550) at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:397) at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103) at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62) at org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:639) at org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554) at org.jetbrains.idea.maven.project.MavenProjectsTree.doAdd(MavenProjectsTree.java:499) at org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:460) at org.jetbrains.idea.maven.project.MavenProjectsTree.updateAll(MavenProjectsTree.java:431) at org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:60) at org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132) at org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32) at org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107) at org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:460) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is: com.intellij.execution.ExecutionException: at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:175) at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:80) at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41) at org.jetbrains.idea.maven.server.MavenServerManager$7.execute(MavenServerManager.java:553) at org.jetbrains.idea.maven.server.MavenServerManager$7.execute(MavenServerManager.java:550) at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76) ... 20 more Caused by: com.intellij.execution.ExecutionException: at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:166) at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:172) ... 25 more 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - VM: OpenJDK 64-Bit Server VM 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - OS: Windows 10 2017-10-27 13:52:43,319 [ 628599] ERROR - #org.jetbrains.idea.maven - Last Action: ShowSettings
maven项目报错!!!!
Unable to create project from archetype [com.ibm.mfp:adapter-maven-archetype-http:8.0.2016061011] The defined artifact is not an archetype
IDEA创建maven的web项目,配置tomcat后可以发布,但浏览器报错404
**问题描述**:刚开始学习maven,在idea中使用模板创建了web maven项目后,可以使用maven自带的maven tomcat运行,并且浏览器正常 。但是使用网站下载下来的Tomcat配置在项目中后,虽然可以运行,但浏览器直接显示 404错误。 **下载的Tomcat运行后的信息**: G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\catalina.bat run [2020-02-17 12:39:19,204] Artifact ren:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5" Using CATALINA_HOME: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51" Using CATALINA_TMPDIR: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_181" Using CLASSPATH: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\bootstrap.jar;G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\tomcat-juli.jar" 17-Feb-2020 12:39:20.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/8.5.51 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Feb 5 2020 22:26:25 UTC 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(:8.5.51.0 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_181\jre 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本: 1.8.0_181-b13 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5 17-Feb-2020 12:39:20.438 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51 17-Feb-2020 12:39:20.438 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5\conf\logging.properties 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5 17-Feb-2020 12:39:20.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\temp 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true] 17-Feb-2020 12:39:20.449 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 17-Feb-2020 12:39:20.614 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"] 17-Feb-2020 12:39:20.632 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 17-Feb-2020 12:39:20.658 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 647 ms 17-Feb-2020 12:39:20.702 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 17-Feb-2020 12:39:20.702 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.51 17-Feb-2020 12:39:20.715 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 17-Feb-2020 12:39:20.727 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 68 ms Connected to server [2020-02-17 12:39:20,850] Artifact ren:war exploded: Artifact is being deployed, please wait... [2020-02-17 12:39:21,376] Artifact ren:war exploded: Artifact is deployed successfully [2020-02-17 12:39:21,376] Artifact ren:war exploded: Deploy took 526 milliseconds 17-Feb-2020 12:39:30.722 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\webapps\manager] 17-Feb-2020 12:39:30.809 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\webapps\manager] has finished in [86] ms **配置页面** ![图片说明](https://img-ask.csdn.net/upload/202002/17/1581915221_525072.png) **运行后的结果** ![图片说明](https://img-ask.csdn.net/upload/202002/17/1581914498_959743.png)
centos7编译maven出错
编译hadoop源码,开始就出错 [root@hadoop101 hadoop-2.7.2-src]#mvn package -Pdist,native -DskipTests -Dtar ``` [root@hadoop104 hadoop-2.7.2-src]# mvn package -Pdist,native -DskipTests -Dtar [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.5.0/maven-bundle-plugin-2.5.0.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.hadoop:hadoop-main:2.7.2 (/opt/hadoop-2.7.2-src/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.felix:maven-bundle-plugin:jar:2.5.0 (): Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.5.0 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.5.0/maven-bundle-plugin-2.5.0.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException ``` 小白学生一个,求各位大神指导,谢谢
配置maven项目失败,总报这个错
一直报错 Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project DouYinProject: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate failed: Plugin org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.mybatis.generator:mybatis-generator-maven-plugin:jar:1.3.2 -> mysql:mysql-connector-java:jar:5.1.47: Failed to read artifact descriptor for mysql:mysql-connector-java:jar:5.1.47: Could not transfer artifact mysql:mysql-connector-java:pom:5.1.47 from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR]
使用eclispe创建maven web项目报错怎么解决?
使用eclispe创建maven web项目Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap怎么解决?
关于IDEA 配置maven的问题
跟着视频自己下载了3.6.2的maven,添加了配置,但是最近总是会有报错,之前可以正常添加的依赖现在添加不了,或者是plugins报错,找了很多帖子也没解决,今天看到一个说一定不要自己下载maven,要使用idea自带的maven,就去试了一下,很顺畅,这时候再改回我下载的maven编译器就会报错: Unable to import maven project: See logs for details,请问各位大佬这是什么问题
maven创建web项目src报错
![![图片说明](https://img-ask.csdn.net/upload/201708/25/1503653809_760142.png)图片说明](https://img-ask.csdn.net/upload/201708/25/1503653793_394827.png)
maven创建web项目HttpServlet报错
![![图片说明](https://img-ask.csdn.net/upload/201709/27/1506513100_367041.png)![图片说明](https://img-ask.csdn.net/upload/201709/27/1506513115_770014.png) 大神们,请指教,我是新手, @WebService注解报错,怎么处理? 导入了jar包,为什么HttpServlet还是报错?
自学java,现在联系ssm项目,出了个错误已经4天了,实在调不出来了
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 三月 28, 2020 12:31:59 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brandServiceImpl' defined in file [E:\pinyougou-parent\pinyougou-sellergoods-service\target\classes\com\pinyougou\sellergoods\service\impl\BrandServiceImpl.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 三月 28, 2020 12:31:59 上午 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 三月 28, 2020 12:31:59 上午 org.apache.catalina.core.StandardContext startInternal 严重: Context [] startup failed due to previous errors 三月 28, 2020 12:31:59 上午 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #1] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #2] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #3] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #4] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #5] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #6] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #7] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #8] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O worker #9] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O server boss #10] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [dubbo-remoting-server-heartbeat-thread-1] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [DubboRegistryFailedRetryTimer-thread-1] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. 三月 28, 2020 12:31:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@30500f0b]) and a value of type [java.lang.Class] (value [class com.pinyougou.sellergoods.service.impl.BrandServiceImpl]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 三月 28, 2020 12:31:59 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-9001"]
idea中使用maven的聚合工程时调用同级的聚合工程install后的jar包,install没报错但是使用tomcat7:run后报错:
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building pinyougou-sellergoods-service 0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ pinyougou-sellergoods-service >>> [WARNING] The POM for com.pinyougou:pinyougou-dao:jar:0.5-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.pinyougou:pinyougou-sellergoods-interface:jar:0.5-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.679 s [INFO] Finished at: 2020-03-28T13:21:39+08:00 [INFO] Final Memory: 7M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project pinyougou-sellergoods-service: Could not resolve dependencies for project com.pinyougou:pinyougou-sellergoods-service:war:0.5-SNAPSHOT: The following artifacts could not be resolved: com.pinyougou:pinyougou-dao:jar:0.5-SNAPSHOT, com.pinyougou:pinyougou-sellergoods-interface:jar:0.5-SNAPSHOT: Could not find artifact com.pinyougou:pinyougou-dao:jar:0.5-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException Process finished with exit code 1 ![图片说明](https://img-ask.csdn.net/upload/202003/28/1585372990_947277.jpg)
在Eclipse里创建安卓项目报错
我jdk是1.8的,创建好安卓项目后只要保存就报错,有人看看这是什么原因嘛 ![图片说明](https://img-ask.csdn.net/upload/202003/29/1585463240_73166.png)
maven打包出现问题,compile没有问题,求解决
compile: ``` E:\线上\maven\work\Hello>mvn clean compile [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.junruo.maven:Hello >----------------------- [INFO] Building Hello 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Hello --- [INFO] Deleting E:\线上\maven\work\Hello\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Hello --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Hello --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to E:\线上\maven\work\Hello\target\classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.393 s [INFO] Finished at: 2020-03-23T10:27:28+08:00 [INFO] ------------------------------------------------------------------------ ``` package: ``` E:\线上\maven\work\Hello>mvn clean package [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.junruo.maven:Hello >----------------------- [INFO] Building Hello 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.015 s [INFO] Finished at: 2020-03-23T10:27:35+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException ``` pom.xml ``` <?xml version="1.0" ?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.junruo.maven</groupId> <artifactId>Hello</artifactId> <version>0.0.1-SNAPSHOT</version> <name>Hello</name> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11 </version> <scope>test</scope> </dependency> </dependencies> </project> ``` 这是什么问题
maven: Unable to update index
请帮我查看下这个问题如何解决: 15-3-5 下午09时20分02秒: Updating index CN|http://maven.oschina.net/content/groups/public/ 15-3-5 下午09时20分02秒: Downloading 08410d2e103567584ef53dbe8846615d : nexus-maven-repository-index.properties 15-3-5 下午09时20分02秒: Downloaded Repository[08410d2e103567584ef53dbe8846615d|http://maven.oschina.net/content/groups/public/.index]/nexus-maven-repository-index.properties 15-3-5 下午09时20分03秒: Unable to download Repository[08410d2e103567584ef53dbe8846615d|http://maven.oschina.net/content/groups/public/.index]/nexus-maven-repository-index.gz: java.io.IOException 15-3-5 下午09时20分03秒: Unable to update index for CN|http://maven.oschina.net/content/groups/public/
idea 工程右边的maven配置中Plugins有重复的命令
不知道是不是误操作了,idea打开后右边的maven配置栏,下面的Pulgins中 所有的命令都变成双份的了。。很奇怪 求大佬们给把把脉吧 #如图 ![图片说明](https://img-ask.csdn.net/upload/202003/28/1585383656_434201.png)
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
【JSON解析】浅谈JSONObject的使用
简介 在程序开发过程中,在参数传递,函数返回值等方面,越来越多的使用JSON。JSON(JavaScript Object Notation)是一种轻量级的数据交换格式,同时也易于机器解析和生成、易于理解、阅读和撰写,而且Json采用完全独立于语言的文本格式,这使得Json成为理想的数据交换语言。 JSON建构于两种结构: “名称/值”对的集合(A Collection of name/va...
《MySQL 性能优化》之理解 MySQL 体系结构
本文介绍 MySQL 的体系结构,包括物理结构、逻辑结构以及插件式存储引擎。
程序员请照顾好自己,周末病魔差点一套带走我。
程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。
卸载 x 雷某度!GitHub 标星 1.5w+,从此我只用这款全能高速下载工具!
作者 | Rocky0429 来源 | Python空间 大家好,我是 Rocky0429,一个喜欢在网上收集各种资源的蒟蒻… 网上资源眼花缭乱,下载的方式也同样千奇百怪,比如 BT 下载,磁力链接,网盘资源等等等等,下个资源可真不容易,不一样的方式要用不同的下载软件,因此某比较有名的 x 雷和某度网盘成了我经常使用的工具。 作为一个没有钱的穷鬼,某度网盘几十 kb 的下载速度让我...
只因接了一个电话,程序员被骗 30 万!
今天想给大家说一个刚刚发生在我身边的一起真实的诈骗经历,我的朋友因此被骗走30万。注:为了保护当事人隐私,部分情节进行了修改。1平安夜突来的电话开始以为就像普通的诈骗一样,想办法让你把钱...
我一个37岁的程序员朋友
周末了,人一旦没有点事情干,心里就瞎想,而且跟几个老男人坐在一起,更容易瞎想,我自己现在也是 30 岁了,也是无时无刻在担心自己的职业生涯,担心丢掉工作没有收入,担心身体机能下降,担心突...
python自动下载图片
近日闲来无事,总有一种无形的力量萦绕在朕身边,让朕精神涣散,昏昏欲睡。 可是,像朕这么有职业操守的社畜怎么能在上班期间睡瞌睡呢,我不禁陷入了沉思。。。。 突然旁边的IOS同事问:‘嘿,兄弟,我发现一个网站的图片很有意思啊,能不能帮我保存下来提升我的开发灵感?’ 作为一个坚强的社畜怎么能说自己不行呢,当时朕就不假思索的答应:‘oh, It’s simple. Wait for me for a ...
一名大专同学的四个问题
【前言】   收到一封来信,赶上各种事情拖了几日,利用今天要放下工作的时机,做个回复。   2020年到了,就以这一封信,作为开年标志吧。 【正文】   您好,我是一名现在有很多困惑的大二学生。有一些问题想要向您请教。   先说一下我的基本情况,高考失利,不想复读,来到广州一所大专读计算机应用技术专业。学校是偏艺术类的,计算机专业没有实验室更不用说工作室了。而且学校的学风也不好。但我很想在计算机领...
复习一周,京东+百度一面,不小心都拿了Offer
京东和百度一面都问了啥,面试官百般刁难,可惜我全会。
Java 14 都快来了,为什么还有这么多人固守Java 8?
从Java 9开始,Java版本的发布就让人眼花缭乱了。每隔6个月,都会冒出一个新版本出来,Java 10 , Java 11, Java 12, Java 13, 到2020年3月份,...
达摩院十大科技趋势发布:2020 非同小可!
【CSDN编者按】1月2日,阿里巴巴发布《达摩院2020十大科技趋势》,十大科技趋势分别是:人工智能从感知智能向认知智能演进;计算存储一体化突破AI算力瓶颈;工业互联网的超融合;机器间大规模协作成为可能;模块化降低芯片设计门槛;规模化生产级区块链应用将走入大众;量子计算进入攻坚期;新材料推动半导体器件革新;保护数据隐私的AI技术将加速落地;云成为IT技术创新的中心 。 新的画卷,正在徐徐展开。...
轻松搭建基于 SpringBoot + Vue 的 Web 商城应用
首先介绍下在本文出现的几个比较重要的概念: 函数计算(Function Compute): 函数计算是一个事件驱动的服务,通过函数计算,用户无需管理服务器等运行情况,只需编写代码并上传。函数计算准备计算资源,并以弹性伸缩的方式运行用户代码,而用户只需根据实际代码运行所消耗的资源进行付费。Fun: Fun 是一个用于支持 Serverless 应用部署的工具,能帮助您便捷地管理函数计算、API ...
Python+OpenCV实时图像处理
目录 1、导入库文件 2、设计GUI 3、调用摄像头 4、实时图像处理 4.1、阈值二值化 4.2、边缘检测 4.3、轮廓检测 4.4、高斯滤波 4.5、色彩转换 4.6、调节对比度 5、退出系统 初学OpenCV图像处理的小伙伴肯定对什么高斯函数、滤波处理、阈值二值化等特性非常头疼,这里给各位分享一个小项目,可通过摄像头实时动态查看各类图像处理的特点,也可对各位调参、测试...
2020年一线城市程序员工资大调查
人才需求 一线城市共发布岗位38115个,招聘120827人。 其中 beijing 22805 guangzhou 25081 shanghai 39614 shenzhen 33327 工资分布 2020年中国一线城市程序员的平均工资为16285元,工资中位数为14583元,其中95%的人的工资位于5000到20000元之间。 和往年数据比较: yea...
为什么猝死的都是程序员,基本上不见产品经理猝死呢?
相信大家时不时听到程序员猝死的消息,但是基本上听不到产品经理猝死的消息,这是为什么呢? 我们先百度搜一下:程序员猝死,出现将近700多万条搜索结果: 搜索一下:产品经理猝死,只有400万条的搜索结果,从搜索结果数量上来看,程序员猝死的搜索结果就比产品经理猝死的搜索结果高了一倍,而且从下图可以看到,首页里面的五条搜索结果,其实只有两条才是符合条件。 所以程序员猝死的概率真的比产品经理大,并不是错...
害怕面试被问HashMap?这一篇就搞定了!
声明:本文以jdk1.8为主! 搞定HashMap 作为一个Java从业者,面试的时候肯定会被问到过HashMap,因为对于HashMap来说,可以说是Java集合中的精髓了,如果你觉得自己对它掌握的还不够好,我想今天这篇文章会非常适合你,至少,看了今天这篇文章,以后不怕面试被问HashMap了 其实在我学习HashMap的过程中,我个人觉得HashMap还是挺复杂的,如果真的想把它搞得明明白...
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
我问了身边10个大佬,总结了他们的学习方法,原来成功都是有迹可循的。
推荐10个堪称神器的学习网站
每天都会收到很多读者的私信,问我:“二哥,有什么推荐的学习网站吗?最近很浮躁,手头的一些网站都看烦了,想看看二哥这里有什么新鲜货。” 今天一早做了个恶梦,梦到被老板辞退了。虽然说在我们公司,只有我辞退老板的份,没有老板辞退我这一说,但是还是被吓得 4 点多都起来了。(主要是因为我掌握着公司所有的核心源码,哈哈哈) 既然 4 点多起来,就得好好利用起来。于是我就挑选了 10 个堪称神器的学习网站,推...
这些软件太强了,Windows必装!尤其程序员!
Windows可谓是大多数人的生产力工具,集娱乐办公于一体,虽然在程序员这个群体中都说苹果是信仰,但是大部分不都是从Windows过来的,而且现在依然有很多的程序员用Windows。 所以,今天我就把我私藏的Windows必装的软件分享给大家,如果有一个你没有用过甚至没有听过,那你就赚了????,这可都是提升你幸福感的高效率生产力工具哦! 走起!???? NO、1 ScreenToGif 屏幕,摄像头和白板...
阿里面试,面试官没想到一个ArrayList,我都能跟他扯半小时
我是真的没想到,面试官会这样问我ArrayList。
曾经优秀的人,怎么就突然不优秀了。
职场上有很多辛酸事,很多合伙人出局的故事,很多技术骨干被裁员的故事。说来模板都类似,曾经是名校毕业,曾经是优秀员工,曾经被领导表扬,曾经业绩突出,然而突然有一天,因为种种原因,被裁员了,...
大学四年因为知道了这32个网站,我成了别人眼中的大神!
依稀记得,毕业那天,我们导员发给我毕业证的时候对我说“你可是咱们系的风云人物啊”,哎呀,别提当时多开心啦????,嗯,我们导员是所有导员中最帅的一个,真的???? 不过,导员说的是实话,很多人都叫我大神的,为啥,因为我知道这32个网站啊,你说强不强????,这次是绝对的干货,看好啦,走起来! PS:每个网站都是学计算机混互联网必须知道的,真的牛杯,我就不过多介绍了,大家自行探索,觉得没用的,尽管留言吐槽吧???? 社...
良心推荐,我珍藏的一些Chrome插件
上次搬家的时候,发了一个朋友圈,附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多,于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。 我下面就把我日常工作和学习中经常用到的一些 Chrome 浏览器插件分享给大家,随便一个都能提高你的“生活品质”和工作效率。 Markdown Here Markdown Here 可以让你更愉快的写邮件,由于支持 Markdown 直接转电子邮...
看完这篇HTTP,跟面试官扯皮就没问题了
我是一名程序员,我的主要编程语言是 Java,我更是一名 Web 开发人员,所以我必须要了解 HTTP,所以本篇文章就来带你从 HTTP 入门到进阶,看完让你有一种恍然大悟、醍醐灌顶的感觉。 最初在有网络之前,我们的电脑都是单机的,单机系统是孤立的,我还记得 05 年前那会儿家里有个电脑,想打电脑游戏还得两个人在一个电脑上玩儿,及其不方便。我就想为什么家里人不让上网,我的同学 xxx 家里有网,每...
史上最全的IDEA快捷键总结
现在Idea成了主流开发工具,这篇博客对其使用的快捷键做了总结,希望对大家的开发工作有所帮助。
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
谁是华为扫地僧?
是的,华为也有扫地僧!2020年2月11-12日,“养在深闺人不知”的华为2012实验室扫地僧们,将在华为开发者大会2020(Cloud)上,和大家见面。到时,你可以和扫地僧们,吃一个洋...
Idea 中最常用的10款插件(提高开发效率),一定要学会使用!
学习使用一些插件,可以提高开发效率。对于我们开发人员很有帮助。这篇博客介绍了开发中使用的插件。
AI 没让人类失业,搞 AI 的人先失业了
最近和几个 AI 领域的大佬闲聊 根据他们讲的消息和段子 改编出下面这个故事 如有雷同 都是巧合 1. 老王创业失败,被限制高消费 “这里写我跑路的消息实在太夸张了。” 王葱葱哼笑一下,把消息分享给群里。 阿杰也看了消息,笑了笑。在座几位也都笑了。 王葱葱是个有名的人物,21岁那年以全额奖学金进入 KMU 攻读人工智能博士,累计发表论文 40 余篇,个人技术博客更是成为深度学习领域内风向标。 ...
立即提问