ftp://192.168.0.9/pub/repo/repodata/repomd.xml: [Errno 14] FTP Error 500 - Access denied: 500 Trying other mirror怎么解决?

图片说明我在用华为云做实验,搭了一个客户端ftp的yum源,但是在服务器yum repolist的时候总是出现这个报错,不知道怎么办了?
客户端ip192.168.0.8
服务器ip192.168.0.9

1个回答

没有自己用ftp搭建过yum源,不过排查思路大概应该是这样,可以先按照这个思路试一下:
1、两台主机互ping,看网络是否通畅
2、查看ftp主机ftp服务是否正常,访问权限是否正确
3、ftp主机的防火墙和云安全组是否打开了ftp使用的端口号(20/21)
4、在使用yum的主机上用命令行去访问ftp主机的ftp服务,看是否可以正常访问

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Error:Could not find com.android.tools.build:gradle-core:2.3.3. Searched in the following locations:
新导入项目报这个错误: Error:Could not find com.android.tools.build:gradle-core:2.3.3. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle-core/2.3.3/gradle-core-2.3.3.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle-core/2.3.3/gradle-core-2.3.3.jar Required by: project :library > com.android.tools.build:gradle:2.3.3。 图片: ![图片说明](https://img-ask.csdn.net/upload/201908/30/1567134273_698972.png) ![图片说明](https://img-ask.csdn.net/upload/201908/30/1567134287_697402.png)
请教:maven项目的pom.xml配置文件报错,报错信息如下
Failure to transfer org.apache.maven.surefire:surefire:pom:2.10 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.surefire:surefire:pom:2.10 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http:// repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom![图片说明](https://img-ask.csdn.net/upload/201610/12/1476245563_702476.jpg)
maven新建web项目报错Failure to transfer org.codehaus.plexus:plexus:pom:2.0.5
Failure to transfer org.codehaus.plexus:plexus:pom:2.0.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus:pom:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/ 2.0.5/plexus-2.0.5.pom 我也试了下载jar包本地安装在库里,也试了配maven catalog都没用啊,这两天一直在纠结这个问题 ![图片说明](https://img-ask.csdn.net/upload/201512/18/1450424915_803850.jpg)
android组件集成支付宝SDK问题
Error:Could not resolve all files for configuration ':app:A001DebugCompileClasspath'. > Could not find :alipaySdk-15.6.8-20191021122514:. Searched in the following locations: file:/D:/Android/sdk/extras/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/D:/Android/sdk/extras/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/D:/Android/sdk/extras/google/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/D:/Android/sdk/extras/google/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/D:/Android/sdk/extras/android/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/D:/Android/sdk/extras/android/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/D:/Android/Studio3/gradle/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/D:/Android/Studio3/gradle/m2repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar https://jcenter.bintray.com//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom https://jcenter.bintray.com//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/app/ELAndroidComponent/repo//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/E:/wwwroot/gitweb/Android_NDK_YW/app/ELAndroidComponent/repo//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar http://maven.aliyun.com/nexus/content/repositories/releases//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom http://maven.aliyun.com/nexus/content/repositories/releases//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar https://dl.bintray.com/jetbrains/anko//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom https://dl.bintray.com/jetbrains/anko//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar https://jitpack.io//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom https://jitpack.io//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar https://repo1.maven.org/maven2//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom https://repo1.maven.org/maven2//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar https://dl.google.com/dl/android/maven2//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom https://dl.google.com/dl/android/maven2//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/app/libs/alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/app/libs/alipaySdk-15.6.8-20191021122514.aar file:/C:/Users/Administrator/.m2/repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/C:/Users/Administrator/.m2/repository//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/ELAndroidComponent/repo/alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/ELAndroidComponent/repo/alipaySdk-15.6.8-20191021122514.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/app/libs/alipaySdk-15.6.8-20191021122514-.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/app/libs/alipaySdk-15.6.8-20191021122514.aar file:/E:/wwwroot/gitweb/Android_NDK_YW/ELAndroidComponent/repo//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.pom file:/E:/wwwroot/gitweb/Android_NDK_YW/ELAndroidComponent/repo//alipaySdk-15.6.8-20191021122514//alipaySdk-15.6.8-20191021122514-.aar Required by: project :app > project :ELAndroidComponent:paycomponent 配置好后运行出现以上问题,不知怎么解决,有大神指导一下吗
安装anaconda后输入conda info 报错求解
想问下这个administrator : false; offline mode : false是什么问题怎么解决. 并且输入python后显示是环境变量但未激活。并且安装后桌面找不到anaconda的图标。望大神救救我!!! active environment : base active env location : D:\anaconda shell level : 1 user config file : C:\Users\Katharine\.condarc populated config files : conda version : 4.7.10 conda-build version : 3.18.8 python version : 3.7.3.final.0 virtual packages : __cuda=10.0 base environment : D:\anaconda (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : D:\anaconda\pkgs C:\Users\Katharine\.conda\pkgs C:\Users\Katharine\AppData\Local\conda\conda\pkgs envs directories : D:\anaconda\envs C:\Users\Katharine\.conda\envs C:\Users\Katharine\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17134 administrator : False netrc file : None offline mode : False
创建maven项目时pom.xml老是报错,求解
错误提示:Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.thoughtworks.xstream:xstream:jar:1.3.1 from/to central (http://repo1.maven.org/maven2): No response received after 60000![![图片说明](https://img-ask.csdn.net/upload/201611/12/1478885303_808644.png)图片说明](https://img-ask.csdn.net/upload/201611/12/1478885292_821108.png)
Centos 7云主机yum问题。
ftp://192.168.200.10/paas/docker/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for docker: Damaged repomd.xml file Trying other mirror. One of the configured repositories failed (docker), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable docker 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=docker.skip_if_unavailable=true failure: repodata/repomd.xml from docker: [Errno 256] No more mirrors to try. ftp://192.168.200.10/paas/docker/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for docker: Damaged repomd.xml file
myeclipse建立maven是pom.xml报错
用MyEclipse10建立maven web工程的时候,POM.XML总是报错,错误信息如下。还请大神们帮帮忙啊~~ 小弟感激涕零!! Multiple annotations found at this line: - No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (C:\Users\Guan Yang\.m2\repository), central (http://repo1.maven.org/maven2)] - Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http:// repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): null to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources- plugin-2.4.3.pom
Eclipse编译Hive0.9.0源码时出错
我在用Eclipse编译Hive0.9.0时,编译通不过,如下所示: Buildfile: /home/cdl/branch-0.9/build.xml ivy-init-dirs: [echo] Project: hive [mkdir] Created dir: /home/cdl/branch-0.9/build/ivy [mkdir] Created dir: /home/cdl/branch-0.9/build/ivy/lib [mkdir] Created dir: /home/cdl/branch-0.9/build/ivy/report [mkdir] Created dir: /home/cdl/branch-0.9/build/ivy/maven ivy-download: [echo] Project: hive [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar [get] To: /home/cdl/branch-0.9/build/ivy/lib/ivy-2.1.0.jar ivy-probe-antlib: [echo] Project: hive ivy-init-antlib: [echo] Project: hive compile-ant-tasks: [echo] Project: hive create-dirs: [echo] Project: anttasks [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks/classes [mkdir] Created dir: /home/cdl/branch-0.9/build/jexl/classes [mkdir] Created dir: /home/cdl/branch-0.9/build/hadoopcore [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks/test [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks/test/src [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks/test/classes [mkdir] Created dir: /home/cdl/branch-0.9/build/anttasks/test/resources [copy] Warning: /home/cdl/branch-0.9/ant/src/test/resources does not exist. init: [echo] Project: anttasks ivy-init-settings: [echo] Project: anttasks ivy-resolve: [echo] Project: anttasks _BUILD FAILED /home/cdl/branch-0.9/build.xml:256: The following error occurred while executing this line: /home/cdl/branch-0.9/build-common.xml:132: java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String_ Total time: 43 seconds 出错对应的位置文件内容为: ![build.xml:256处](https://img-ask.csdn.net/upload/201510/21/1445418607_379472.jpg) ![build-common.xml:132处](https://img-ask.csdn.net/upload/201510/21/1445418684_165695.jpg) 我百度了很久,都无法解决。求各位大神帮帮忙!
pom.xml 头部几行出现这样的提示问题求解
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom: 2.6 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled. Maven没什么配置,maven-resources-plugin插件在本地也有 ![图片说明](https://img-ask.csdn.net/upload/201605/08/1462640995_891312.png) ![图片说明](https://img-ask.csdn.net/upload/201605/08/1462641007_856887.png)
maven项目中的pom.xml第一行报错
maven项目中的pom.xml第一行报错:Failure to transfer org.apache.maven:maven-parent:pom:18 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-parent:pom:18 from/to central (http://repo1.maven.org/maven2): No response received after 60000
Maven集成时依赖jar包版本控制问题
我有一个WEB工程需要用到commons-collections和commons-dbcp. 代码中用到的是commons-collections的3.1版本特性,但是资源库中commons-dbcp依赖的 commons-collections指定了2.1版本。看了下commons-dbcp-1.2.1.pom: <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>2.1</version> </dependency> 当我将web工程打包时,maven会将commons-collections-3.1.jar 和commons-collections-2.1.jar都拷贝进WAR包。 如何只让maven只将 commons-collections-3.1.jar拷贝到war包中去? [b]问题补充:[/b] 谢谢,jansel的答复,方案1是可以行的,但是觉得maven应该有其它解决方案,所以发贴出来咨询一下。方案2我试过了,在我自己的工程pom.xml文件中指定了 高版本的common-collections,但是maven做package的时候依赖会将两个版本的common-collections库都打进WEB-INF/lib,我的maven版本是2.0.9. [b]问题补充:[/b] E:\NGWORK\javaprj\webapp>mvn dependency:tree -Dverbose -Dincludes=commons-collections E:\NGWORK\javaprj\webapp>set MAVEN_OPTS=-Xms64m -Xmx512m [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - asiainfo.cboss:cboss:war:SNAPSHOT [INFO] task-segment: [dependency:tree] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/asiainfo/cas/aicasclient/1.0/aicasclient-1.0.pom Downloading: http://repo1.maven.org/maven2/cmcc/twcmcc/1.4/twcmcc-1.4.pom Downloading: http://repo1.maven.org/maven2/castor/castor-xml/1.0/castor-xml-1.0.pom Downloading: http://repo1.maven.org/maven2/asiainfo/openboss/openclient/2.0/openclient-2.0.pom Downloading: http://repo1.maven.org/maven2/xstream/xstream/1.3/xstream-1.3.pom Downloading: http://repo1.maven.org/maven2/jdk/tools/1.4.2/tools-1.4.2.pom Downloading: http://repo1.maven.org/maven2/servlet/servlet/2.3/servlet-2.3.pom Downloading: http://repo1.maven.org/maven2/asiainfo/cboss/portalExternal/1.8/portalExternal-1.8.pom Downloading: http://repo1.maven.org/maven2/asiainfo/openbuff/EzfrmWeb/1.0/EzfrmWeb-1.0.pom Downloading: http://repo1.maven.org/maven2/asiainfo/openbuff/EzfrmBiz/1.0/EzfrmBiz-1.0.pom Downloading: http://repo1.maven.org/maven2/net/sf/jasperreports/2.0.3/jasperreports-2.0.3.pom Downloading: http://repo1.maven.org/maven2/lowagie/itext/1.3.1/itext-1.3.1.pom Downloading: http://repo1.maven.org/maven2/lowagie/itext-asian/1.0/itext-asian-1.0.pom Downloading: http://repo1.maven.org/maven2/net/sf/json/2.2.1/json-2.2.1.pom Downloading: http://repo1.maven.org/maven2/net/sf/ezmorph/1.0.4/ezmorph-1.0.4.pom Downloading: http://repo1.maven.org/maven2/edu/concurrent/1.0/concurrent-1.0.pom Downloading: http://repo1.maven.org/maven2/asiainfo/ny/nysecurity/1.0/nysecurity-1.0.pom Downloading: http://repo1.maven.org/maven2/cmcc/trustwork/1.4/trustwork-1.4.pom Downloading: http://repo1.maven.org/maven2/cmcc/pwdSvr/1.4/pwdSvr-1.4.pom Downloading: http://repo1.maven.org/maven2/poi/poi/2.5.1-FINAL/poi-2.5.1-FINAL.pom [INFO] [dependency:tree] [INFO] asiainfo.cboss:cboss:war:SNAPSHOT [INFO] +- asiainfo.cboss:cboss-common:jar:SNAPSHOT:compile [INFO] | \- org.apache.velocity:velocity:jar:1.5:compile [INFO] | \- (commons-collections:commons-collections:jar:3.1:compile - omitted for conflict with 2.1) [INFO] +- commons-collections:commons-collections:jar:3.1:runtime (scope not updated to compile) [INFO] +- commons-dbcp:commons-dbcp:jar:1.2.1:compile [INFO] | \- (commons-collections:commons-collections:jar:2.1:compile - omitted for conflict with 3.1) [INFO] +- commons-beanutils:commons-beanutils:jar:1.6:compile [INFO] | \- (commons-collections:commons-collections:jar:2.0:compile - omitted for conflict with 3.1) [INFO] \- commons-pool:commons-pool:jar:1.2:compile [INFO] \- (commons-collections:commons-collections:jar:2.1:compile - omitted for conflict with 3.1) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33 seconds [INFO] Finished at: Wed Sep 09 13:18:59 CST 2009 [INFO] Final Memory: 13M/63M [b]问题补充:[/b] 的确是按最短路径实现的,我在自己的pom.xml中指定了使用版本,maven就是使用这个版本的。 上午是因为忘记做clean了,所以原来已经拷贝到WEB-INF/lib目录的库没有被清理这样commons-collections-2.1.jar还是会存在, 让我误认为不能生效。
自己百度弄了一天了,求大神帮忙!
Failure to transfer org.codehaus.plexus:plexus:pom:1.0.4 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus:pom:1.0.4 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom 百度了很多会了!一直接解决不了这个问题!我创建的Maven项目的pom.xml老是报上面的异常!求给我这新手指点指点!
创建maven时第一行报错,网络太慢就复制了别人的仓库粘了过来
Multiple annotations found at this line: - Failure to transfer org.springframework:spring-core:jar:4.3.11.RELEASE from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring- core:jar:4.3.11.RELEASE from/to spring-milestones (http://repo.spring.io/milestone): The operation was cancelled. org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.springframework:spring-core:jar:4.3.11.RELEASE from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring- core:jar:4.3.11.RELEASE from/to spring-milestones (http://repo.spring.io/milestone): The operation was cancelled. at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238) at 。。。 后面还有很多,这是怎么回事呢
maven 项目导入的问题
在导入 maven 项目时 pom.xml --> run as --> maven install 出现下面问题!对maven 不太了解,是个新手 [code="java"] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Herbalife Maven Webapp [INFO] [INFO] Id: com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/unitils/unitils/1.0-rc-1/unitils-1.0-rc-1.pom url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/opensymphony/xwork/2.0.4/xwork-2.0.4.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/dojo/dojo/0.0/dojo-0.0.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/fckeditor/fckeditor/2.3/fckeditor-2.3.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/msbase/1.0/msbase-1.0.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/mssqlserver/1.0/mssqlserver-1.0.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/sqlserver/msutil/1.0/msutil-1.0.jar url = http://repo1.maven.org/maven2 Downloading: http://repo1.maven.org/maven2/opensymphony/jsonplugin/0[1].16-1.5/jsonplugin-0[1].16-1.5.jar [ERROR] Transitive dependency resolution for scope: compile has failed for your project. Error message: Missing: ---------- 1) opensymphony:xwork:jar:2.0.4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=xwork -Dversion=2.0.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) opensymphony:xwork:jar:2.0.4 2) dojo:dojo:jar:0.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=dojo -DartifactId=dojo -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) dojo:dojo:jar:0.0 3) fckeditor:fckeditor:jar:2.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=fckeditor -DartifactId=fckeditor -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) fckeditor:fckeditor:jar:2.3 4) sqlserver:msbase:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msbase -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) sqlserver:msbase:jar:1.0 5) sqlserver:mssqlserver:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=mssqlserver -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) sqlserver:mssqlserver:jar:1.0 6) sqlserver:msutil:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=sqlserver -DartifactId=msutil -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) sqlserver:msutil:jar:1.0 7) opensymphony:jsonplugin:jar:0[1].16-1.5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=jsonplugin -Dversion=0[1].16-1.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT 2) opensymphony:jsonplugin:jar:0[1].16-1.5 ---------- 7 required artifacts are missing. for artifact: com.herbalife.webapp:herbalife:war:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Group-Id: com.herbalife.webapp Artifact-Id: herbalife Version: 1.0-SNAPSHOT From file: D:\workspace\herbal-report\pom.xml [INFO] ------------------------------------------------------------------------ [INFO] For more information, run with the -e flag [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILED [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13 seconds [INFO] Finished at: Fri Nov 20 13:49:19 CST 2009 [INFO] Final Memory: 2M/11M [INFO] ------------------------------------------------------------------------ [/code] [b]问题补充:[/b] D:\Downloads\xwork-2.0.4.jar 默认下载到什么地方了!这么多jar 包要一个一个导吗? 谢谢 [b]问题补充:[/b] 只剩下3 分了! :oops: 没有人知道吗??? [b]问题补充:[/b] 请问? cwx714 私服怎么建?? 我机子上的 repository 库算什么? 有没有参照的例子? 感激不尽! [img]http://dl.iteye.com/upload/attachment/171204/5b564360-105f-3cb7-96cb-4512a932b7e4.jpg[/img] [b]问题补充:[/b] 建私服太麻烦了,用 mvn 命令创建项目时为什么能自动下载对应jar 包,而导入项目时为什么就下载出错?
springBoot整合mybatis时的错,求助!
项目结构![图片说明](https://img-ask.csdn.net/upload/201903/15/1552617152_885756.png) yml配置 ``` spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/zmz username: root password: root mybatis: typeAliasesPackage: Beans mapperLocations: classpath:mappers/*.xml logging: level: mapper: debug ``` 报错信息 ``` java.lang.IllegalStateException: Could not evaluate condition on com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure#dataSource due to org/springframework/boot/web/servlet/ServletRegistrationBean not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake) at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:178) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:140) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE] at start.Start.main(Start.java:12) [classes/:na] Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/web/servlet/ServletRegistrationBean at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_144] at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_144] at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_144] at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:567) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:683) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:627) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1445) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:975) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:289) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanType(BeanTypeRegistry.java:278) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:259) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:182) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:171) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:139) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:113) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-1.3.3.RELEASE.jar:1.3.3.RELEASE] ... 17 common frames omitted Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.servlet.ServletRegistrationBean at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_144] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_144] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) ~[na:1.8.0_144] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_144] ... 37 common frames omitted 2019-03-15 10:27:17.852 INFO 3600 --- [ main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/resources.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/rt.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/jsse.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/jce.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/charsets.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/jfr.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/access-bridge-64.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/cldrdata.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/dnsns.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/jaccess.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/jfxrt.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/localedata.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/nashorn.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/sunec.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/sunjce_provider.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/sunmscapi.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/sunpkcs11.jar, file:/C:/Program%20Files/Java/jdk1.8.0_144/jre/lib/ext/zipfs.jar, file:/D:/software/workspace/spb/target/classes/, file:/D:/software/repo/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter-web/1.3.3.RELEASE/spring-boot-starter-web-1.3.3.RELEASE.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter/1.3.3.RELEASE/spring-boot-starter-1.3.3.RELEASE.jar, file:/D:/software/repo/org/springframework/boot/spring-boot/1.3.3.RELEASE/spring-boot-1.3.3.RELEASE.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter-logging/1.3.3.RELEASE/spring-boot-starter-logging-1.3.3.RELEASE.jar, file:/D:/software/repo/ch/qos/logback/logback-classic/1.1.5/logback-classic-1.1.5.jar, file:/D:/software/repo/ch/qos/logback/logback-core/1.1.5/logback-core-1.1.5.jar, file:/D:/software/repo/org/slf4j/slf4j-api/1.7.16/slf4j-api-1.7.16.jar, file:/D:/software/repo/org/slf4j/jcl-over-slf4j/1.7.16/jcl-over-slf4j-1.7.16.jar, file:/D:/software/repo/org/slf4j/jul-to-slf4j/1.7.16/jul-to-slf4j-1.7.16.jar, file:/D:/software/repo/org/slf4j/log4j-over-slf4j/1.7.16/log4j-over-slf4j-1.7.16.jar, file:/D:/software/repo/org/springframework/spring-core/4.2.5.RELEASE/spring-core-4.2.5.RELEASE.jar, file:/D:/software/repo/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter-tomcat/1.3.3.RELEASE/spring-boot-starter-tomcat-1.3.3.RELEASE.jar, file:/D:/software/repo/org/apache/tomcat/embed/tomcat-embed-core/8.0.32/tomcat-embed-core-8.0.32.jar, file:/D:/software/repo/org/apache/tomcat/embed/tomcat-embed-el/8.0.32/tomcat-embed-el-8.0.32.jar, file:/D:/software/repo/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.32/tomcat-embed-logging-juli-8.0.32.jar, file:/D:/software/repo/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.32/tomcat-embed-websocket-8.0.32.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter-validation/1.3.3.RELEASE/spring-boot-starter-validation-1.3.3.RELEASE.jar, file:/D:/software/repo/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar, file:/D:/software/repo/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/D:/software/repo/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, file:/D:/software/repo/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar, file:/D:/software/repo/com/fasterxml/jackson/core/jackson-databind/2.6.5/jackson-databind-2.6.5.jar, file:/D:/software/repo/com/fasterxml/jackson/core/jackson-annotations/2.6.5/jackson-annotations-2.6.5.jar, file:/D:/software/repo/com/fasterxml/jackson/core/jackson-core/2.6.5/jackson-core-2.6.5.jar, file:/D:/software/repo/org/springframework/spring-web/4.2.5.RELEASE/spring-web-4.2.5.RELEASE.jar, file:/D:/software/repo/org/springframework/spring-aop/4.2.5.RELEASE/spring-aop-4.2.5.RELEASE.jar, file:/D:/software/repo/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/D:/software/repo/org/springframework/spring-beans/4.2.5.RELEASE/spring-beans-4.2.5.RELEASE.jar, file:/D:/software/repo/org/springframework/spring-context/4.2.5.RELEASE/spring-context-4.2.5.RELEASE.jar, file:/D:/software/repo/org/springframework/spring-webmvc/4.2.5.RELEASE/spring-webmvc-4.2.5.RELEASE.jar, file:/D:/software/repo/org/springframework/spring-expression/4.2.5.RELEASE/spring-expression-4.2.5.RELEASE.jar, file:/D:/software/repo/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.3.0/mybatis-spring-boot-starter-1.3.0.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-starter-jdbc/1.3.3.RELEASE/spring-boot-starter-jdbc-1.3.3.RELEASE.jar, file:/D:/software/repo/org/apache/tomcat/tomcat-jdbc/8.0.32/tomcat-jdbc-8.0.32.jar, file:/D:/software/repo/org/apache/tomcat/tomcat-juli/8.0.32/tomcat-juli-8.0.32.jar, file:/D:/software/repo/org/springframework/spring-jdbc/4.2.5.RELEASE/spring-jdbc-4.2.5.RELEASE.jar, file:/D:/software/repo/org/springframework/spring-tx/4.2.5.RELEASE/spring-tx-4.2.5.RELEASE.jar, file:/D:/software/repo/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.3.0/mybatis-spring-boot-autoconfigure-1.3.0.jar, file:/D:/software/repo/org/mybatis/mybatis/3.4.4/mybatis-3.4.4.jar, file:/D:/software/repo/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1.jar, file:/D:/software/repo/com/alibaba/druid-spring-boot-starter/1.1.0/druid-spring-boot-starter-1.1.0.jar, file:/D:/software/repo/com/alibaba/druid/1.1.0/druid-1.1.0.jar, file:/D:/software/repo/org/springframework/boot/spring-boot-autoconfigure/1.3.3.RELEASE/spring-boot-autoconfigure-1.3.3.RELEASE.jar] ```
新建maven,pom.xml 文件报错 .
Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled ![图片说明](https://img-ask.csdn.net/upload/201706/30/1498808108_51310.png)
在我ubuntu 系统上我有一份源码了,我想建立repo库来管理怎么搞?
我的系统本地上已经有一份源码了,我想建个repo来管理下代码,怎么百度都有问题 这个是我的步奏: $curl "http://curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo" 下面这三条我都用过 $repo init -u git://android.git.kernel.org/platform/manifest.git $repo init -u git://android.git.kernel.org/platform/manifest.git -m dalvik-plus.xml $repo init -u URL(这个是在当前目录下建立.repo?) 全部报错 fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error [Errno 101] Network is unreachable 国内,VPN我都有看,就是没有一个成功,搞了好几天了。。请路过的大神帮看下
新建Maven项目报错,提示连接不上中央存储库
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小人工智障。 思路可以运用在不同地方,主要介绍的是思路。
面试官问我:什么是消息队列?什么场景需要他?用了会出现什么问题?
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式和人才交流群,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸...
8年经验面试官详解 Java 面试秘诀
作者 |胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。 Java程序员准备和投递简历的实...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观...
MyBatis研习录(01)——MyBatis概述与入门
MyBatis 是一款优秀的持久层框架,它支持定制化 SQL、存储过程以及高级映射。MyBatis原本是apache的一个开源项目iBatis, 2010年该项目由apache software foundation 迁移到了google code并改名为MyBatis 。2013年11月MyBatis又迁移到Github。
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip installselenium -ihttps://pypi.tuna.tsinghua.edu.cn/simple/ ...
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca...
Python爬虫精简步骤1 获取数据
爬虫,从本质上来说,就是利用程序在网上拿到对我们有价值的数据。 爬虫能做很多事,能做商业分析,也能做生活助手,比如:分析北京近两年二手房成交均价是多少?广州的Python工程师平均薪资是多少?北京哪家餐厅粤菜最好吃?等等。 这是个人利用爬虫所做到的事情,而公司,同样可以利用爬虫来实现巨大的商业价值。比如你所熟悉的搜索引擎——百度和谷歌,它们的核心技术之一也是爬虫,而且是超级爬虫。 从搜索巨头到人工...
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东...
破14亿,Python分析我国存在哪些人口危机!
一、背景 二、爬取数据 三、数据分析 1、总人口 2、男女人口比例 3、人口城镇化 4、人口增长率 5、人口老化(抚养比) 6、各省人口 7、世界人口 四、遇到的问题 遇到的问题 1、数据分页,需要获取从1949-2018年数据,观察到有近20年参数:LAST20,由此推测获取近70年的参数可设置为:LAST70 2、2019年数据没有放上去,可以手动添加上去 3、将数据进行 行列转换 4、列名...
web前端javascript+jquery知识点总结
1.Javascript 语法.用途 javascript 在前端网页中占有非常重要的地位,可以用于验证表单,制作特效等功能,它是一种描述语言,也是一种基于对象(Object)和事件驱动并具有安全性的脚本语言 ...
Python实战:抓肺炎疫情实时数据,画2019-nCoV疫情地图
今天,群里白垩老师问如何用python画武汉肺炎疫情地图。白垩老师是研究海洋生态与地球生物的学者,国家重点实验室成员,于不惑之年学习python,实为我等学习楷模。先前我并没有关注武汉肺炎的具体数据,也没有画过类似的数据分布图。于是就拿了两个小时,专门研究了一下,遂成此文。
听说想当黑客的都玩过这个Monyer游戏(1~14攻略)
第零关 进入传送门开始第0关(游戏链接) 请点击链接进入第1关: 连接在左边→ ←连接在右边 看不到啊。。。。(只能看到一堆大佬做完的留名,也能看到菜鸡的我,在后面~~) 直接fn+f12吧 &lt;span&gt;连接在左边→&lt;/span&gt; &lt;a href="first.php"&gt;&lt;/a&gt; &lt;span&gt;←连接在右边&lt;/span&gt; o...
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ...... ...
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!...
渗透测试-灰鸽子远控木马
木马概述 灰鸽子( Huigezi),原本该软件适用于公司和家庭管理,其功能十分强大,不但能监视摄像头、键盘记录、监控桌面、文件操作等。还提供了黑客专用功能,如:伪装系统图标、随意更换启动项名称和表述、随意更换端口、运行后自删除、毫无提示安装等,并采用反弹链接这种缺陷设计,使得使用者拥有最高权限,一经破解即无法控制。最终导致被黑客恶意使用。原作者的灰鸽子被定义为是一款集多种控制方式于一体的木马程序...
Python:爬取疫情每日数据
前言 目前每天各大平台,如腾讯、今日头条都会更新疫情每日数据,他们的数据源都是一样的,主要都是通过各地的卫健委官网通报。 以全国、湖北和上海为例,分别为以下三个网站: 国家卫健委官网:http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml 湖北卫健委官网:http://wjw.hubei.gov.cn/bmdt/ztzl/fkxxgzbdgrfyyq/xxfb...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合...
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名...
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计...
Python新型冠状病毒疫情数据自动爬取+统计+发送报告+数据屏幕(三)发送篇
今天介绍的项目是使用 Itchat 发送统计报告 项目功能设计: 定时爬取疫情数据存入Mysql 进行数据分析制作疫情报告 使用itchat给亲人朋友发送分析报告 基于Django做数据屏幕 使用Tableau做数据分析 来看看最终效果 目前已经完成,预计2月12日前更新 使用 itchat 发送数据统计报告 itchat 是一个基于 web微信的一个框架,但微信官方并不允许使用这...
作为程序员的我,大学四年一直自学,全靠这些实用工具和学习网站!
我本人因为高中沉迷于爱情,导致学业荒废,后来高考,毫无疑问进入了一所普普通通的大学,实在惭愧???? 我又是那么好强,现在学历不行,没办法改变的事情了,所以,进入大学开始,我就下定决心,一定要让自己掌握更多的技能,尤其选择了计算机这个行业,一定要多学习技术。 在进入大学学习不久后,我就认清了一个现实:我这个大学的整体教学质量和学习风气,真的一言难尽,懂的人自然知道怎么回事? 怎么办?我该如何更好的提升自...
粒子群算法求解物流配送路线问题(python)
1.Matlab实现粒子群算法的程序代码:https://www.cnblogs.com/kexinxin/p/9858664.html matlab代码求解函数最优值:https://blog.csdn.net/zyqblog/article/details/80829043 讲解通俗易懂,有数学实例的博文:https://blog.csdn.net/daaikuaichuan/article/...
教你如何编写第一个简单的爬虫
很多人知道爬虫,也很想利用爬虫去爬取自己想要的数据,那么爬虫到底怎么用呢?今天就教大家编写一个简单的爬虫。 下面以爬取笔者的个人博客网站为例获取第一篇文章的标题名称,教大家学会一个简单的爬虫。 第一步:获取页面 #!/usr/bin/python # coding: utf-8 import requests #引入包requests link = "http://www.santostang....
前端JS初级面试题二 (。•ˇ‸ˇ•。)老铁们!快来瞧瞧自己都会了么
1. 传统事件绑定和符合W3C标准的事件绑定有什么区别? 传统事件绑定 &lt;div onclick=""&gt;123&lt;/div&gt; div1.onclick = function(){}; &lt;button onmouseover=""&gt;&lt;/button&gt; 注意: 如果给同一个元素绑定了两次或多次相同类型的事件,那么后面的绑定会覆盖前面的绑定 (不支持DOM事...
相关热词 c# 识别回车 c#生成条形码ean13 c#子控制器调用父控制器 c# 写大文件 c# 浏览pdf c#获取桌面图标的句柄 c# list反射 c# 句柄 进程 c# 倒计时 线程 c# 窗体背景色
立即提问

相似问题

0
maven package遇到问题
2
eclipse maven install 报错
1
myeclipse10创建maven一直是retrieving archetypes
1
springBoot整合mybatis时的错,求助!
2
Spring boot 2.1.3启动报错 java.lang.NoClassDefFoundError: org/springframework/util/unit/DataSize
3
如何解决使用yum无法安装containuer-selinux、docker的问题?
1
求助,在R语言搭建conda环境时出现了很令人无语的问题
0
hexo博客无法显示背景图片
1
使用虚拟机centos7搭建了proftpd环境,新建的虚拟用户登陆提示密码错误,已经使用正确密码了但还是提示错误
2
求教:vs2017 Cordova打包报错 Could not resolve com.android.to
1
springcloud config client 拉取服务配置时,请求git的路径错误,想知道怎么修改这个Url
1
关于odroid-xu4 android源码如何正确下载,项目有多大?
1
conda update --all 失败
1
Error:Could not find com.android.tools.build:gradle-core:2.3.3. Searched in the following locations:
1
安装anaconda后输入conda info 报错求解
2
maven项目中,使用clean tomcat7:run启动时报如下错误,小白,求大神解救。在pom.xml中已经配置了tomcat7-maven-plugin。
1
下载ambari包时显示This XML file does not appear to have any style information associated with it. The document tree is shown below.
2
求教大神们!!!my eclipse中总弹出Login required的窗口是怎么回事,怎么解决啊
3
IDEA maven设置里面的Repositories这个设置问题
1
android组件集成支付宝SDK问题