ERROR: Unable to resolve dependency for' 问题 80C

谁帮我看看是什么原因

compileClasspath': Failed to transform artifact 'espresso-core.aar (androidx.test.espresso:espresso-core:3.1.1)' to match attributes {artifactType=jar}.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform artifact 'runner.aar (androidx.test:runner:1.1.1)' to match attributes {artifactType=jar}.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform artifact 'monitor.aar (androidx.test:monitor:1.1.1)' to match attributes {artifactType=jar}.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform artifact 'espresso-idling-resource.aar (androidx.test.espresso:espresso-idling-resource:3.1.1)' to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

2个回答

https://blog.csdn.net/minwenping/article/details/84108088 类似的思路,但是具体解决要你自己去检查

好像是添加包出错了吧,你试试去到File/Settings/Build,Execution,Deployment/Gradle下,取消勾选Offline work项,看看能不能解决

qq_38525105
LongLiveMan 回复actx23a: 那可以考虑检查一下包是否重复引用了
7 个月之前 回复
actx23a
actx23a 不能解决啊
7 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
android studio 3.1.3 Unable to resolve dependency

android studio 3.1.3 Bulid 一直报错,网上各种方法都无效。报错信息: Unable to resolve dependency for ':app@debug/compileClasspath': Could not download appcompat-v7.aar (com.android.support:appcompat-v7:27.0.1) Unable to resolve dependency for ':app@debug/compileClasspath': Could not download support-fragment.aar (com.android.support:support-fragment:27.0.1) …… …… 但是直接在浏览器输入下载链接,又是能下载下来的。被这个问题困扰了好久了,请大神神们指点,不吝赐教!

Android Studio在 dependencies 块下添加recyclerview依赖出现错误Error:unable to resolve dependency for ':app@debug/compileClasspath':Could not resolve androidx.recyclerview:recyclerview:1.1.0.

**在dependencies块里添加其它的依赖都会报错,有没有大佬知道这是为什么啊,这个已经折磨我一个星期了T T..** ![图片说明](https://img-ask.csdn.net/upload/202003/24/1585030906_74429.png) ![图片说明](https://img-ask.csdn.net/upload/202003/24/1585031054_331308.png) ![图片说明](https://img-ask.csdn.net/upload/202003/24/1585031224_600222.png)

AS 3.0 依赖报错,:app@debug/compileClasspath'

昨天在家里更新了最新的as,然后自己 开了个项目玩玩,但是到依赖glide的时候就有问题了 看了好多方法都没有用。 offline也关了, 也没有用vpn。 报错如下 Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.bumptech.glide:glide:4.8.0. Open File Show Details Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.bumptech.glide:glide:4.8.0. Open File Show Details Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.bumptech.glide:glide:4.8.0. Open File Show Details Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.github.bumptech.glide:glide:4.8.0. Open File Show Details Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.bumptech.glide:glide:4.8.0. Open File Show Details 。。 两个gradle app: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.dl.pokemondex" minSdkVersion 26 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { mavenCentral() google() } dependencies { implementation 'com.github.bumptech.glide:glide:4.8.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.android.support:design:28.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } proj // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() maven { url "https://maven.google.com" } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() maven { url "https://maven.google.com" } } } task clean(type: Delete) { delete rootProject.buildDir }

把jar包转为module导入项目

1.新建了一个module把jar包里面的文件拷进去,删除了一次,之后又建了一个一直出问题 2. ![图片说明](https://img-ask.csdn.net/upload/202004/09/1586403411_720012.png) 3. ``` ERROR: Unable to resolve dependency for ':himeApp@debug/compileClasspath': Could not resolve project :roboguice ERROR: Unable to resolve dependency for ':himeApp@debugUnitTest/compileClasspath': Could not resolve project :roboguice ERROR: Unable to resolve dependency for ':himeApp@debugAndroidTest/compileClasspath': Could not resolve project :roboguice ``` 这是删除之后出的错误: ``` Warning:<i><b>root project 'yuyao_tsyw': Unable to resolve additional project configuration.</b> Details: org.apache.tools.ant.BuildException: Basedir D:\project\hmosc\yuyaoHmosc\yuyao_tsyw\roboguice-aggregator does not exist</i> ``` 去源文件删除重启也没解决

关于Android studio同步时的异常问题(同步时出现的问题,这该怎么解决。已经两周了。救救孩子吧)

``` ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download junit.jar (junit:junit:4.12) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download hamcrest-integration.jar (org.hamcrest:hamcrest-integration:1.3) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download hamcrest-library.jar (org.hamcrest:hamcrest-library:1.3) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download hamcrest-core.jar (org.hamcrest:hamcrest-core:1.3) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download javawriter.jar (com.squareup:javawriter:2.1.1) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download jsr305.jar (com.google.code.findbugs:jsr305:2.0.1) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not download junit.jar (junit:junit:4.12) Show Details Affected Modules: app ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not download hamcrest-core.jar (org.hamcrest:hamcrest-core:1.3) Show Details Affected Modules: app ```

Error:Execution failed for task ':app:preDexDebug'

Error:com.android.dx.cf.iface.ParseException: class name (com/android/volley/CacheDispatcherTest) does not match path (tests/bin/classes/com/android/volley/CacheDispatcherTest.class)

下载新的androidStudio3.6.2的版本后 Gradle下载时提示这个问题,请问是什么原因导致的?如何解决?

ERROR: Unable to resolve dependency for ':titlebar@debug/compileClasspath': Could not download BaseRecyclerViewAdapterHelper.aar (com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.35): Skipped due to earlier error Show Details Affected Modules: titlebar

Android Studio3.0依赖问题

![图片说明](https://img-ask.csdn.net/upload/201712/22/1513931805_66639.png) 打开那个链接是这样的 ![图片说明](https://img-ask.csdn.net/upload/201712/22/1513931857_923817.png) ``` Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0. Could not resolve com.android.support:appcompat-v7:26.1.0. Required by: project :app > Could not resolve com.android.support:appcompat-v7:26.1.0. > Could not get resource 'https://jcenter.bintray.com/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pom'. > Server sent an unsupported extension: type_35 ```

android studio引用依赖包失败

![图片说明](https://img-ask.csdn.net/upload/201807/17/1531796741_990877.png) 电脑翻墙也解决不了,点击Enable Gradle 'offline mode' and sync project后也只是![图片说明](https://img-ask.csdn.net/upload/201807/17/1531796800_626386.png)

gitlab连接k8s,安装gitlab-runner报错 Error: cannot connect to Tiller

gitlab连接k8s,安装gitlab-runner报错 Error: cannot connect to Tiller ![图片说明](https://img-ask.csdn.net/upload/202006/23/1592893691_358222.png)![图片说明](https://img-ask.csdn.net/upload/202006/23/1592893718_354161.png)

如何与私有github企业服务器一起使用go get?

<div class="post-text" itemprop="text"> <p>We use github enterprise server over a VPN.</p> <p>If I type:</p> <pre><code>go get privateserver.com/path/to/myproject.git </code></pre> <p>I get this result: </p> <pre><code>package privateserver.com/path/to/myproject.git: cannot download, privateserver.com/path/to/myproject uses insecure protocol </code></pre> <p>Or removing the .git suffix I get:</p> <pre><code>package privateserver.com/path/to/myproject: unrecognized import path "privateserver.com/path/to/myproject" (parse https://privateserver.com/path/to/myproject?go-get=1: no go-import meta tags ()) </code></pre> <p>It seems there are many similar questions on google searches but have found no answers that actually work. </p> <p>What I really want to end up with is automation of docker builds. Inside my docker file I require a go get. But I can't store the credentials inside the docker file.</p> <p>Note: --insecure doesn't work. See bottom of question.</p> <hr> <p>Just tried go get with -insecure -v options. I get the following output:</p> <pre><code>matthewh@xen:~/go/src/$ go get -insecure -v privateserver.com/path/to/myproject.git # cd .; git ls-remote git://privateserver.com/path/to/myproject fatal: remote error: GitHub private mode is enabled. Git protocol is disabled. Use authenticated http or ssh access instead. # cd .; git ls-remote https://privateserver.com/path/to/myproject fatal: could not read Username for 'https://privateserver.com': terminal prompts disabled # cd .; git ls-remote http://privateserver.com/path/to/myproject fatal: could not read Username for 'https://privateserver.com': terminal prompts disabled # cd .; git ls-remote git+ssh://privateserver.com/path/to/myproject Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. # cd .; git ls-remote ssh://privateserver.com/path/to/myproject Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. privateserver.com/path/to/myproject.git (download) # cd .; git clone privateserver.com/path/to/myproject /home/matthewh/go/src/privateserver.com/path/to/myproject.git fatal: repository 'privateserver.com/path/to/myproject' does not exist package privateserver.com/path/to/myproject.git: exit status 128 </code></pre> </div>

gradle : Resolve dependencies ':classpath'

一直卡在这个东西上, 查询 baidu google 上做法, 配置好代理也是这样 求助。。 然后出现了这种情况 Error:A problem occurred configuring root project 'appstoreV3'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:2.0.0. Required by: :appstoreV3:unspecified > Could not resolve com.android.tools.build:gradle:2.0.0. > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.0.0/gradle-2.0.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.0.0/gradle-2.0.0.pom'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/35.163.95.201, jcenter.bintray.com/35.160.48.73] failed: Connection refused: connect > Could not resolve com.bugtags.library:bugtags-gradle:latest.integration. Required by: :appstoreV3:unspecified > Could not resolve com.bugtags.library:bugtags-gradle:latest.integration. > Failed to list versions for com.bugtags.library:bugtags-gradle. > Unable to load Maven meta-data from https://jcenter.bintray.com/com/bugtags/library/bugtags-gradle/maven-metadata.xml. > Could not GET 'https://jcenter.bintray.com/com/bugtags/library/bugtags-gradle/maven-metadata.xml'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/35.163.95.201, jcenter.bintray.com/35.160.48.73] failed: Connection refused: connect

tomcat起不来了,各路大神支支招吧

2017-5-5 12:52:37 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_27\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\app\gaomin\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.6.0_27\bin;C:\Program Files\Java\jdk1.6.0_27\jre\bin;E:\ruanjian\SVN\bin;C:\Users\gaomin\AppData\Local\Microsoft\WindowsApps;;. 2017-5-5 12:52:37 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8090"] 2017-5-5 12:52:37 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8010"] 2017-5-5 12:52:37 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 537 ms 2017-5-5 12:52:37 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2017-5-5 12:52:37 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.40 2017-5-5 12:52:37 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\beidou\apache-tomcat-7.0.40\webapps\ROOT 12:52:53.612 ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'authorizingRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizingRealm': Unsatisfied dependency expressed through method 'setUnifiedUserMng' parameter 0: Error creating bean with name 'unifiedUserMng': Unsatisfied dependency expressed through method 'setDao' parameter 0: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserMng': Unsatisfied dependency expressed through method 'setDao' parameter 0: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread

android 源码编译报错

android 源码编译报错,在网上查找没有类似的回答,是否有大神遇到类似问题。![图片说明](https://img-ask.csdn.net/upload/201512/29/1451360520_728726.png)

安装php5-geoip失败

<div class="post-text" itemprop="text"> <p>When I try to install php5-geoip on my debian, I get an error :</p> <pre><code>root@pandora:~# LANG=C apt-get install php5-geoip Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php5-geoip : Depends: phpapi-20100525 E: Unable to correct problems, you have held broken packages. root@pandora:~# </code></pre> <p>When I try to install the dependency, here is the output :</p> <pre><code>root@pandora:~# LANG=C apt-get install phpapi-20100525 Reading package lists... Done Building dependency tree Reading state information... Done Package phpapi-20100525 is a virtual package provided by: php5-fpm 5.4.45-0+deb7u2 [Not candidate version] php5-cli 5.4.45-0+deb7u2 [Not candidate version] php5-cgi 5.4.45-0+deb7u2 [Not candidate version] libphp5-embed 5.4.45-0+deb7u2 [Not candidate version] libapache2-mod-php5filter 5.4.45-0+deb7u2 [Not candidate version] libapache2-mod-php5 5.4.45-0+deb7u2 [Not candidate version] E: Package 'phpapi-20100525' has no installation candidate root@pandora:~# </code></pre> <p>apt-get update and apt-get upgrade both works with nothing to update or install. I can install any other package.</p> <p>Thanks if anyone accepts to help me :-)</p> </div>

Android Studio明明依赖都安装的好好的,为什么一直出现“Gradle project sync failed”?

刚刚安装Android Studio3.4.1,各种问题不断,现在每新建一个项目都会出现如图9个error: ![图片说明](https://img-ask.csdn.net/upload/201907/05/1562332526_309281.png) 说unable to resolve dependency for xxx,但是我看dependency安装的好好的,如图: ![图片说明](https://img-ask.csdn.net/upload/201907/05/1562334355_301356.png) 有大神解释一下为什么吗?

android studio 3.0的报错

Error:(115, 1) Execution failed for task ':app:processDevelopDebugManifest'. > Cannot set the value of read-only property 'manifestFile' for task ':app:processDevelopDebugResources' of type com.android.build.gradle.tasks.ProcessAndroidResources. 报错位置: //将此次flavor的AndroidManifest.xml文件指定为我们修改过的这个文件 variant.outputs[0].processResources.manifestFile = file("${buildDir}/intermediates/manifests/full/${variant.dirName}/AndroidManifest.xml")

Java spring 错误 java.lang.IllegalStateException: Failed to load ApplicationContext 求助大佬

``` java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:125) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'apolloConfigBean': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'k0001' in value "${k0001}" at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:380) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1378) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:575) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:127) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117) ... 24 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'k0001' in value "${k0001}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:851) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1185) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1164) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374) ... 40 more Process finished with exit code 255 ``` ![图片说明](https://img-ask.csdn.net/upload/201907/19/1563519578_784317.png)

Yii2 - 异常(无效配置)'yii \ base \ InvalidConfigException',带有消息'Web进程无法写入目录

<div class="post-text" itemprop="text"> <p>When I access the site at domain.com/web, I'm displayed this error. I changed the directory permissions and they are listed below. Any solution?</p> <pre><code>PHP User Error – yii\base\ErrorException Exception (Invalid Configuration) 'yii\base\InvalidConfigException' with message 'The directory is not writable by the Web process: /var/www/.../site1/web/assets' in /var/www/.../site1/vendor/yiisoft/yii2/web/AssetManager.php:168 </code></pre> <p>Permissions:-</p> <pre><code>root@...:/var/www/.../site1# ls -l web total 48 drwxrwxr-x 9 root root 4096 Mar 20 15:56 assets drwxr-xr-x 2 root root 4096 Mar 20 15:50 css root@...:/var/www/.../site1/assets# ls -l total 8 -rw-r--r-- 1 root root 958 Mar 20 17:24 AppAsset.php -rw-r--r-- 1 root root 628 Mar 20 17:24 error_log </code></pre> <p>Even after running this command:-</p> <p><code>chmod -R 777 .</code></p> <pre><code>total 8 -rwxrwxrwx 1 root root 958 Mar 20 17:24 AppAsset.php -rwxrwxrwx 1 root root 628 Mar 20 17:24 error_log </code></pre> <p>I'm still getting same error.</p> </div>

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:csdn590)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

Windows版YOLOv4目标检测实战:训练自己的数据集

课程演示环境:Windows10; cuda 10.2; cudnn7.6.5; Python3.7; VisualStudio2019; OpenCV3.4 需要学习ubuntu系统上YOLOv4的同学请前往:《YOLOv4目标检测实战:训练自己的数据集》 课程链接:https://edu.csdn.net/course/detail/28745 YOLOv4来了!速度和精度双提升! 与 YOLOv3 相比,新版本的 AP (精度)和 FPS (每秒帧率)分别提高了 10% 和 12%。 YOLO系列是基于深度学习的端到端实时目标检测方法。本课程将手把手地教大家使用labelImg标注和使用YOLOv4训练自己的数据集。课程实战分为两个项目:单目标检测(足球目标检测)和多目标检测(足球和梅西同时检测)。 本课程的YOLOv4使用AlexyAB/darknet,在Windows系统上做项目演示。包括:安装软件环境、安装YOLOv4、标注自己的数据集、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算)和先验框聚类分析。还将介绍改善YOLOv4目标检测性能的技巧。 除本课程《Windows版YOLOv4目标检测实战:训练自己的数据集》外,本人将推出有关YOLOv4目标检测的系列课程。请持续关注该系列的其它视频课程,包括: 《Windows版YOLOv4目标检测实战:人脸口罩佩戴检测》 《Windows版YOLOv4目标检测实战:中国交通标志识别》 《Windows版YOLOv4目标检测:原理与源码解析》

lena全身原图(非256*256版本,而是全身原图)

lena全身原图(非256*256版本,而是全身原图) lena原图很有意思,我们通常所用的256*256图片是在lena原图上截取了头部部分的256*256正方形得到的. 原图是花花公子杂志上的一个

快速入门Android开发 视频 教程 android studio

这是一门快速入门Android开发课程,顾名思义是让大家能快速入门Android开发。 学完能让你学会如下知识点: Android的发展历程 搭建Java开发环境 搭建Android开发环境 Android Studio基础使用方法 Android Studio创建项目 项目运行到模拟器 项目运行到真实手机 Android中常用控件 排查开发中的错误 Android中请求网络 常用Android开发命令 快速入门Gradle构建系统 项目实战:看美图 常用Android Studio使用技巧 项目签名打包 如何上架市场

Java调用微信支付

Java 使用微信支付 一. 准备工作 1.

汽车租赁管理系统需求分析规格说明书

汽车租赁管理系统需求分析规格说明书,这只是一个模板,如果有不会的可以借鉴一下,还是蛮详细的。。。。

C/C++跨平台研发从基础到高阶实战系列套餐

一 专题从基础的C语言核心到c++ 和stl完成基础强化; 二 再到数据结构,设计模式完成专业计算机技能强化; 三 通过跨平台网络编程,linux编程,qt界面编程,mfc编程,windows编程,c++与lua联合编程来完成应用强化 四 最后通过基于ffmpeg的音视频播放器,直播推流,屏幕录像,

程序员的算法通关课:知己知彼(第一季)

【超实用课程内容】 程序员对于算法一直又爱又恨!特别是在求职面试时,算法类问题绝对是不可逃避的提问点!本门课程作为算法面试系列的第一季,会从“知己知彼”的角度,聊聊关于算法面试的那些事~ 【哪些人适合学习这门课程?】 求职中的开发者,对于面试算法阶段缺少经验 想了解实际工作中算法相关知识 在职程序员,算法基础薄弱,急需充电 【超人气讲师】 孙秀洋&nbsp;| 服务器端工程师 硕士毕业于哈工大计算机科学与技术专业,ACM亚洲区赛铜奖获得者,先后在腾讯和百度从事一线技术研发,对算法和后端技术有深刻见解。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27272 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程无限观看时长,但是大家可以抓紧时间学习后一起讨论哦~

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

Python入门视频精讲

Python入门视频培训课程以通俗易懂的方式讲解Python核心技术,Python基础,Python入门。适合初学者的教程,让你少走弯路! 课程内容包括:1.Python简介和安装 、2.第一个Python程序、PyCharm的使用 、3.Python基础、4.函数、5.高级特性、6.面向对象、7.模块、8.异常处理和IO操作、9.访问数据库MySQL。教学全程采用笔记+代码案例的形式讲解,通俗易懂!!!

我以为我对Mysql事务很熟,直到我遇到了阿里面试官

太惨了,面试又被吊打

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

Java62数据提取代码

利用苹果手机微信下面的wx.data文件提取出62数据,通过62可以实现不同设备直接登陆,可以通过文件流的方式用脚本上传到服务器进行解析

Python代码实现飞机大战

文章目录经典飞机大战一.游戏设定二.我方飞机三.敌方飞机四.发射子弹五.发放补给包六.主模块 经典飞机大战 源代码以及素材资料(图片,音频)可从下面的github中下载: 飞机大战源代码以及素材资料github项目地址链接 ————————————————————————————————————————————————————————— 不知道大家有没有打过飞机,喜不喜欢打飞机。当我第一次接触这个东西的时候,我的内心是被震撼到的。第一次接触打飞机的时候作者本人是身心愉悦的,因为周边的朋友都在打飞机, 每

2018年全国大学生计算机技能应用大赛决赛 大题

2018年全国大学生计算机技能应用大赛决赛大题,程序填空和程序设计(侵删)

Lena图像处理测试专业用图,高清完整全身原图

Lena图像处理测试专业用图,高清完整全身原图,该图片很好的包含了平坦区域、阴影和纹理等细节,这些都有益于测试各种不同的图像处理算法。它是一幅很好的测试照片!其次,由于这是一个非常有魅力女人的照片。

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

verilog实现地铁系统售票

使用 verilog 实现地铁售票

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

Python可以这样学(第四季:数据分析与科学计算可视化)

董付国老师系列教材《Python程序设计(第2版)》(ISBN:9787302436515)、《Python可以这样学》(ISBN:9787302456469)配套视频,在教材基础上又增加了大量内容,通过实例讲解numpy、scipy、pandas、statistics、matplotlib等标准库和扩展库用法。

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

获取Linux下Ftp目录树并逐步绑定到treeview

在linux下抓取目录树,双击后获取该节点子节点(逐步生成)。另外有两个类,一个是windows下的(一次性获取目录树),一个是linux下的(足部获取目录树)

YOLOv3目标检测实战系列课程

《YOLOv3目标检测实战系列课程》旨在帮助大家掌握YOLOv3目标检测的训练、原理、源码与网络模型改进方法。 本课程的YOLOv3使用原作darknet(c语言编写),在Ubuntu系统上做项目演示。 本系列课程包括三门课: (1)《YOLOv3目标检测实战:训练自己的数据集》 包括:安装darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 (2)《YOLOv3目标检测:原理与源码解析》讲解YOLOv1、YOLOv2、YOLOv3的原理、程序流程并解析各层的源码。 (3)《YOLOv3目标检测:网络模型改进方法》讲解YOLOv3的改进方法,包括改进1:不显示指定类别目标的方法 (增加功能) ;改进2:合并BN层到卷积层 (加快推理速度) ; 改进3:使用GIoU指标和损失函数 (提高检测精度) ;改进4:tiny YOLOv3 (简化网络模型)并介绍 AlexeyAB/darknet项目。

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

Java 最常见的 200+ 面试题:面试必备

这份面试清单是从我 2015 年做了 TeamLeader 之后开始收集的,一方面是给公司招聘用,另一方面是想用它来挖掘在 Java 技术栈中,还有那些知识点是我不知道的,我想找到这些技术盲点,然后修复它,以此来提高自己的技术水平。虽然我是从 2009 年就开始参加编程工作了,但我依旧觉得自己现在要学的东西很多,并且学习这些知识,让我很有成就感和满足感,那所以何乐而不为呢? 说回面试的事,这份面试...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

微信小程序 实例汇总 完整项目源代码

微信小程序 实例汇总 完整项目源代码

基于西门子S7—1200的单部六层电梯设计程序,1部6层电梯

基于西门子S7—1200的单部六层电梯设计程序,1部6层电梯。 本系统控制六层电梯, 采用集选控制方式。 为了完成设定的控制任务, 主要根据电梯输入/输出点数确定PLC 的机型。 根据电梯控制的要求,

相关热词 c#分级显示数据 c# 不区分大小写替换 c#中调用就java c#正则表达式 验证小数 c# vscode 配置 c#三维数组能存多少数据 c# 新建excel c#多个文本框 c#怎么创建tcp通讯 c# mvc 电子病例
立即提问