精华内容
下载资源
问答
  • 今天创建JPA,发现一个错误,就是一直初始化启动层失败。在晚上找了很多但是没有找到相应的解决方案。直到看到一个帖子说是导jar包的时候需要导在classpath里面,才解决这个问题。 错误描述: Error occurred ...

    今天创建JPA时,发现一个错误,就是一直初始化启动层失败。在晚上找了很多但是没有找到相应的解决方案。直到看到一个帖子说是导jar包的时候需要导在classpath里面,才解决这个问题。

    错误描述:

    Error occurred during initialization of boot layer
    java.lang.module.FindException: Unable to derive module descriptor for D:\apache-tomcat\hibernate-release-4.3.10.Final\lib\required\jboss-transaction-api_1.2_spec-1.0.0.Final.jar
    Caused by: java.lang.IllegalArgumentException: jboss.transaction.api.1.2.spec: Invalid module name: '1' is not a Java identifier
    解决方案:重新导入jar包,在classpath中。

    重新运行:

    问题解决!!

     

     

    展开全文
  • java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapterat org.springframework.boot.autoconfigure.condition.S...

    java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter

    at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:64) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:178) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:140) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at com.cisco.ple.AdminApplication.main(AdminApplication.java:20) [classes/:na]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74]

    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74]

    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    Caused by: java.lang.IllegalStateException: @ConditionalOnMissingBean did not specify a bean using type, name or annotation and the attempt to deduce the bean's type failed

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.validate(OnBeanCondition.java:310) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:300) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:112) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    ... 22 common frames omitted

    Caused by: org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanTypeDeductionException: Failed to deduce bean type for org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanTypeForBeanMethod(OnBeanCondition.java:373) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanType(OnBeanCondition.java:347) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:294) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    ... 24 common frames omitted

    Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/ObjectProvider

    at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_74]

    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_74]

    at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_74]

    at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.addDeducedBeanTypeForBeanMethod(OnBeanCondition.java:360) ~[spring-boot-autoconfigure-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    ... 26 common frames omitted

    Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.ObjectProvider

    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_74]

    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_74]

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_74]

    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_74]

    ... 33 common frames omitted

    2016-11-16 15:10:44.540 INFO 62059 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot[email protected]4fefe49d: startup date [Wed Nov 16 15:10:40 IST 2016]; root of context hierarchy

    2016-11-16 15:10:44.541 WARN 62059 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception thrown from LifecycleProcessor on context close

    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot[email protected]4fefe49d: startup date [Wed Nov 16 15:10:40 IST 2016]; root of context hierarchy

    at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:415) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:975) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:934) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]

    at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    at com.cisco.ple.AdminApplication.main(AdminApplication.java:20) [classes/:na]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74]

    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74]

    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.4.2.RELEASE.jar:1.4.2.RELEASE]

    Exception in thread "restartedMain" java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

    Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/ObjectProvider

    at java.lang.Class.getDeclaredMethods0(Native Method)

    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

    at java.lang.Class.getDeclaredMethods(Class.java:1975)

    at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609)

    at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521)

    at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:534)

    at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507)

    at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:567)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:683)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:627)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)

    at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1445)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:445)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:415)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:530)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:523)

    at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1162)

    at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:886)

    at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:872)

    at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:858)

    at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:812)

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)

    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)

    at com.cisco.ple.AdminApplication.main(AdminApplication.java:20)

    ... 5 more

    Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.ObjectProvider

    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

    ... 30 more

    这里是mvn dependency:tree输出

    [INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ Admin ---

    [INFO] company:admin:war:1.0

    [INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.4.2.RELEASE:compile

    [INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:1.4.2.RELEASE:compile

    [INFO] | | | +- ch.qos.logback:logback-classic:jar:1.1.7:compile

    [INFO] | | | | \- ch.qos.logback:logback-core:jar:1.1.7:compile

    [INFO] | | | +- org.slf4j:jul-to-slf4j:jar:1.7.21:compile

    [INFO] | | | \- org.slf4j:log4j-over-slf4j:jar:1.7.21:compile

    [INFO] | | \- org.yaml:snakeyaml:jar:1.17:runtime

    [INFO] | \- org.springframework.boot:spring-boot-actuator:jar:1.4.2.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile

    [INFO] | | +- javax.validation:validation-api:jar:1.1.0.Final:compile

    [INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile

    [INFO] | | \- com.fasterxml:classmate:jar:1.3.3:compile

    [INFO] | +- org.springframework:spring-web:jar:4.2.4.RELEASE:compile

    [INFO] | \- org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:1.4.2.RELEASE:compile

    [INFO] | | +- org.apache.tomcat:tomcat-jdbc:jar:8.5.6:compile

    [INFO] | | | \- org.apache.tomcat:tomcat-juli:jar:8.5.6:compile

    [INFO] | | \- org.springframework:spring-jdbc:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.hibernate:hibernate-core:jar:5.0.11.Final:compile

    [INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile

    [INFO] | | +- org.javassist:javassist:jar:3.20.0-GA:compile

    [INFO] | | +- org.jboss:jandex:jar:2.0.0.Final:compile

    [INFO] | | +- dom4j:dom4j:jar:1.6.1:compile

    [INFO] | | \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile

    [INFO] | +- org.hibernate:hibernate-entitymanager:jar:5.0.11.Final:compile

    [INFO] | +- javax.transaction:javax.transaction-api:jar:1.2:compile

    [INFO] | +- org.springframework.data:spring-data-jpa:jar:1.10.5.RELEASE:compile

    [INFO] | | +- org.springframework.data:spring-data-commons:jar:1.12.5.RELEASE:compile

    [INFO] | | \- org.springframework:spring-orm:jar:4.2.4.RELEASE:compile

    [INFO] | \- org.springframework:spring-aspects:jar:4.2.4.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-security:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework:spring-aop:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.springframework.security:spring-security-config:jar:4.1.3.RELEASE:compile

    [INFO] | \- org.springframework.security:spring-security-web:jar:4.1.3.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-aop:jar:1.4.2.RELEASE:compile

    [INFO] | \- org.aspectj:aspectjweaver:jar:1.8.9:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-mail:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework:spring-context:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile

    [INFO] | \- com.sun.mail:javax.mail:jar:1.5.6:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-velocity:jar:1.4.2.RELEASE:compile

    [INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.3:compile

    [INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile

    [INFO] | +- commons-digester:commons-digester:jar:2.1:compile

    [INFO] | +- org.apache.velocity:velocity:jar:1.7:compile

    [INFO] | \- org.apache.velocity:velocity-tools:jar:2.0:compile

    [INFO] | +- commons-chain:commons-chain:jar:1.1:compile

    [INFO] | +- oro:oro:jar:2.0.8:compile

    [INFO] | +- sslext:sslext:jar:1.2-0:compile

    [INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile

    [INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile

    [INFO] | \- org.apache.struts:struts-tiles:jar:1.3.8:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-cache:jar:1.4.2.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-data-redis:jar:1.4.2.RELEASE:compile

    [INFO] +- org.springframework.data:spring-data-redis:jar:1.7.5.RELEASE:compile

    [INFO] | +- org.springframework.data:spring-data-keyvalue:jar:1.1.5.RELEASE:compile

    [INFO] | +- org.springframework:spring-tx:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.springframework:spring-oxm:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.slf4j:slf4j-api:jar:1.7.21:compile

    [INFO] | \- org.slf4j:jcl-over-slf4j:jar:1.7.21:compile

    [INFO] +- redis.clients:jedis:jar:2.8.2:compile

    [INFO] | \- org.apache.commons:commons-pool2:jar:2.4.2:compile

    [INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.0.12.RELEASE:compile

    [INFO] | +- org.springframework:spring-beans:jar:4.2.4.RELEASE:compile

    [INFO] | +- org.springframework:spring-core:jar:4.2.4.RELEASE:compile

    [INFO] | \- org.springframework.security:spring-security-core:jar:4.1.3.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-devtools:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.boot:spring-boot:jar:1.4.2.RELEASE:compile

    [INFO] | \- org.springframework.boot:spring-boot-autoconfigure:jar:1.4.2.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.boot:spring-boot-test:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:1.4.2.RELEASE:compile

    [INFO] | +- junit:junit:jar:4.12:compile

    [INFO] | +- org.assertj:assertj-core:jar:2.5.0:compile

    [INFO] | +- org.mockito:mockito-core:jar:1.10.19:compile

    [INFO] | | \- org.objenesis:objenesis:jar:2.1:runtime

    [INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:compile

    [INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:compile

    [INFO] | +- org.skyscreamer:jsonassert:jar:1.3.0:compile

    [INFO] | | \- org.json:json:jar:20140107:compile

    [INFO] | \- org.springframework:spring-test:jar:4.2.4.RELEASE:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.4.2.RELEASE:provided

    [INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.6:provided

    [INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.6:provided

    [INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.6:provided

    [INFO] +- org.apache.tomcat.embed:tomcat-embed-jasper:jar:8.5.6:provided

    [INFO] | \- org.eclipse.jdt.core.compiler:ecj:jar:4.5.1:provided

    [INFO] +- jstl:jstl:jar:1.2:compile

    [INFO] +- org.springframework.security:spring-security-taglibs:jar:4.1.3.RELEASE:compile

    [INFO] | +- org.springframework.security:spring-security-acl:jar:4.1.3.RELEASE:compile

    [INFO] | \- org.springframework:spring-expression:jar:4.2.4.RELEASE:compile

    [INFO] +- commons-httpclient:commons-httpclient:jar:3.1:compile

    [INFO] | \- commons-logging:commons-logging:jar:1.0.4:compile

    [INFO] +- cglib:cglib-nodep:jar:2.2:compile

    [INFO] +- net.sf.ehcache:ehcache-core:jar:2.6.0:compile

    [INFO] +- net.sf.json-lib:json-lib:jar:jdk15:2.4:compile

    [INFO] | +- commons-lang:commons-lang:jar:2.5:compile

    [INFO] | \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile

    [INFO] +- com.googlecode.ehcache-spring-annotations:ehcache-spring-annotations:jar:1.1.3:compile

    [INFO] | \- aopalliance:aopalliance:jar:1.0:compile

    [INFO] +- javax.mail:mail:jar:1.4.5:compile

    [INFO] | \- javax.activation:activation:jar:1.1:compile

    [INFO] +- org.apache.cxf:cxf-core:jar:3.1.5:compile

    [INFO] | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile

    [INFO] | \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:compile

    [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.1.5:compile

    [INFO] | +- xml-resolver:xml-resolver:jar:1.2:compile

    [INFO] | \- org.ow2.asm:asm:jar:5.0.4:compile

    [INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.1.5:compile

    [INFO] | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile

    [INFO] | \- javax.annotation:javax.annotation-api:jar:1.2:compile

    [INFO] +- org.apache.cxf:cxf-rt-ws-security:jar:3.1.5:compile

    [INFO] | +- org.apache.cxf:cxf-rt-security-saml:jar:3.1.5:compile

    [INFO] | | \- org.apache.cxf:cxf-rt-security:jar:3.1.5:compile

    [INFO] | +- net.sf.ehcache:ehcache:jar:2.10.3:compile

    [INFO] | +- org.apache.wss4j:wss4j-policy:jar:2.1.4:compile

    [INFO] | +- org.apache.wss4j:wss4j-ws-security-stax:jar:2.1.4:compile

    [INFO] | | \- org.apache.wss4j:wss4j-bindings:jar:2.1.4:compile

    [INFO] | \- org.apache.wss4j:wss4j-ws-security-policy-stax:jar:2.1.4:compile

    [INFO] +- org.apache.wss4j:wss4j-ws-security-common:jar:2.1.4:compile

    [INFO] | +- org.apache.santuario:xmlsec:jar:2.0.5:compile

    [INFO] | +- org.opensaml:opensaml-saml-impl:jar:3.1.1:compile

    [INFO] | | +- org.opensaml:opensaml-profile-api:jar:3.1.1:compile

    [INFO] | | | \- org.opensaml:opensaml-core:jar:3.1.1:compile

    [INFO] | | +- org.opensaml:opensaml-saml-api:jar:3.1.1:compile

    [INFO] | | | +- org.opensaml:opensaml-xmlsec-api:jar:3.1.1:compile

    [INFO] | | | \- org.opensaml:opensaml-soap-api:jar:3.1.1:compile

    [INFO] | | +- org.opensaml:opensaml-security-impl:jar:3.1.1:compile

    [INFO] | | | \- org.opensaml:opensaml-security-api:jar:3.1.1:compile

    [INFO] | | | +- org.cryptacular:cryptacular:jar:1.0:compile

    [INFO] | | | \- org.bouncycastle:bcprov-jdk15on:jar:1.51:compile

    [INFO] | | +- org.opensaml:opensaml-xmlsec-impl:jar:3.1.1:compile

    [INFO] | | \- net.shibboleth.utilities:java-support:jar:7.1.1:compile

    [INFO] | | +- com.google.guava:guava:jar:18.0:compile

    [INFO] | | \- joda-time:joda-time:jar:2.9.5:compile

    [INFO] | +- org.opensaml:opensaml-xacml-impl:jar:3.1.1:compile

    [INFO] | | \- org.opensaml:opensaml-xacml-api:jar:3.1.1:compile

    [INFO] | +- org.opensaml:opensaml-xacml-saml-impl:jar:3.1.1:compile

    [INFO] | | \- org.opensaml:opensaml-xacml-saml-api:jar:3.1.1:compile

    [INFO] | +- org.jasypt:jasypt:jar:1.9.2:compile

    [INFO] | \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile

    [INFO] +- org.apache.wss4j:wss4j-ws-security-dom:jar:2.1.4:compile

    [INFO] +- commons-codec:commons-codec:jar:1.10:compile

    [INFO] +- org.apache.cxf:cxf-rt-rs-extension-providers:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.1.5:compile

    [INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile

    [INFO] | \- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile

    [INFO] +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-ws-policy:jar:3.1.5:compile

    [INFO] | +- wsdl4j:wsdl4j:jar:1.6.3:compile

    [INFO] | \- org.apache.neethi:neethi:jar:3.0.3:compile

    [INFO] +- org.apache.cxf:cxf-rt-ws-addr:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-rs-client:jar:3.1.5:compile

    [INFO] +- org.apache.cxf:cxf-rt-wsdl:jar:3.1.5:compile

    [INFO] +- javax.ws.rs:jsr311-api:jar:1.0:compile

    [INFO] +- org.apache.commons:commons-lang3:jar:3.0:compile

    [INFO] +- commons-validator:commons-validator:jar:1.4.0:compile

    [INFO] +- org.apache.tiles:tiles-servlet:jar:3.0.4:compile

    [INFO] | \- org.apache.tiles:tiles-request-servlet:jar:1.0.4:compile

    [INFO] +- org.apache.tiles:tiles-core:jar:3.0.4:compile

    [INFO] +- org.apache.tiles:tiles-jsp:jar:3.0.4:compile

    [INFO] | +- org.apache.tiles:tiles-template:jar:3.0.4:compile

    [INFO] | | \- org.apache.tiles:tiles-autotag-core-runtime:jar:1.1.0:compile

    [INFO] | \- org.apache.tiles:tiles-request-jsp:jar:1.0.4:compile

    [INFO] +- org.apache.tiles:tiles-api:jar:3.0.1:compile

    [INFO] | \- org.apache.tiles:tiles-request-api:jar:1.0.1:compile

    [INFO] +- mysql:mysql-connector-java:jar:5.1.40:compile

    [INFO] +- org.antlr:stringtemplate:jar:3.2.1:compile

    [INFO] | \- antlr:antlr:jar:2.7.7:compile

    [INFO] +- org.owasp.esapi:esapi:jar:2.0GA:compile

    [INFO] | +- commons-configuration:commons-configuration:jar:1.5:compile

    [INFO] | +- commons-beanutils:commons-beanutils-core:jar:1.7.0:compile

    [INFO] | +- commons-fileupload:commons-fileupload:jar:1.2:compile

    [INFO] | +- log4j:log4j:jar:1.2.16:compile

    [INFO] | +- xom:xom:jar:1.1:compile

    [INFO] | | +- xerces:xmlParserAPIs:jar:2.6.2:compile

    [INFO] | | +- xalan:xalan:jar:2.7.0:compile

    [INFO] | | \- jaxen:jaxen:jar:1.1.6:compile

    [INFO] | +- org.beanshell:bsh-core:jar:2.0b4:compile

    [INFO] | \- org.owasp.antisamy:antisamy:jar:1.4.3:compile

    [INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.7:compile

    [INFO] | | +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile

    [INFO] | | +- org.apache.xmlgraphics:batik-util:jar:1.7:compile

    [INFO] | | \- xml-apis:xml-apis-ext:jar:1.3.04:compile

    [INFO] | \- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:compile

    [INFO] +- javax.inject:javax.inject:jar:1:compile

    [INFO] +- xerces:xercesImpl:jar:2.9.1:compile

    [INFO] | \- xml-apis:xml-apis:jar:1.4.01:compile

    [INFO] +- org.codehaus.jettison:jettison:jar:1.1:compile

    [INFO] | \- stax:stax-api:jar:1.0.1:compile

    [INFO] +- com.opencsv:opencsv:jar:3.7:compile

    [INFO] +- com.sun.jersey:jersey-core:jar:1.17.1:compile

    [INFO] +- com.sun.jersey:jersey-client:jar:1.17.1:compile

    [INFO] +- com.sun.jersey.contribs:jersey-multipart:jar:1.17.1:compile

    [INFO] | \- org.jvnet:mimepull:jar:1.6:compile

    [INFO] +- org.springframework.session:spring-session:jar:1.1.0.RELEASE:compile

    [INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.4:compile

    [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.4:compile

    [INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.8.4:compile

    [INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile

    [INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile

    [INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.8.4:compile

    [INFO] | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.8.4:compile

    [INFO] | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile

    [INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:5.0.2:compile

    [INFO] +- org.springframework.boot:spring-boot-starter-hateoas:jar:1.4.2.RELEASE:compile

    [INFO] | +- org.springframework.hateoas:spring-hateoas:jar:0.20.0.RELEASE:compile

    [INFO] | \- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile

    [INFO] +- com.jayway.jsonpath:json-path:jar:2.2.0:test

    [INFO] | \- net.minidev:json-smart:jar:2.2.1:test

    [INFO] | \- net.minidev:accessors-smart:jar:1.1:test

    [INFO] +- org.jolokia:jolokia-core:jar:1.3.5:compile

    [INFO] | \- com.googlecode.json-simple:json-simple:jar:1.1.1:compile

    [INFO] +- org.jsoup:jsoup:jar:1.9.2:compile

    [INFO] \- commons-io:commons-io:jar:2.5:compile

    它看起来像类org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter神器org.springframework.boot的:春天-boot-autoconfigure:1.4.2.RELEASE正在使用类org.springframework.beans.factory.ObjectProvider of artifact org.springframework:spring-beans。然而org.springframework.beans.factory.ObjectProvider仅在工件的版本4.3之后被添加,并且工件的provided版本在弹簧启动父项中为4.2.4.RELEASE。版本1.4.2.RELEASE应该是一个稳定版本的弹簧引导。

    配置有什么问题?

    +0

    即使Spring Boot 1.4.1.RELEASE依赖于Spring Framework 4.3.3(https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure/1.4.1.RELEASE)。你确定你没有老版本的Spring Beans作为传递依赖吗? –

    +0

    @RafalG。我添加了依赖关系树输出,但我无法理解哪个依赖关系负责锁定传递依赖关系。 –

    +0

    我可以看到Spring Boot 1.4.2.RELEASE在Maven Central上指定了一些奇怪的依赖关系。你能否试试降级到1.4.1.RELEASE? –

    展开全文
  • Caffe重装

    2019-11-30 23:42:38
    近日, 由于需要, 又重新安装了CAFFE一遍(并非想折腾, 但事后证明痛苦带来了长进), 这一次重装的原因是: 在启动caffe程序进行训练初始化网络层时, 报错, “Unknown layer type: ImageData”. 当然, 这个错误提示并...

    近日, 由于需要, 又重新安装了CAFFE一遍(并非想折腾, 但事后证明痛苦带来了长进), 这一次重装的原因是: 在启动caffe程序进行训练初始化网络层时, 报错, “Unknown layer type: ImageData”. 当然, 这个错误提示并没有说让你直接重装, 但实在找不到出错的原因(同是Layer, “Input”类型就没有报错), 怀疑ImageData有问题, 只好寄希望于重装能把”ImageData”这个问题解决掉. (之前第一遍安装已经是披荆斩棘, 这一次安装前已经做好了壮志未酬的心理准备了)

    一开始并不解是什么原因导致的, 但后来才知道是引用的OpenCV的版本不对: 在Caffe发布的时候, OpenCV应该还是版本3, 但现在OpenCV有了最新的版本4, 导致用brew命令在安装的时候, 直接安装了最新的版本, 除非: “brew install opencv@3”, 而我将”Makefile.config”文本文件的”OPENCV_VERSION”项改成了”:= 4”(原先是3).

    这么改回来之后, 是比较保险的方式了, 因为抱牢CAFFE官方的大腿了, 而安装版本4的OpenCV一定不行吗? 倒也不是一定不行, 只不过在Makefile文件中, CAFFE官方没有关于版本4的编译规则. 所以, 如果在Makefile.config中将”OPENCV_VERSION”设置成4之后, 在官方原始的Makefile中是不会有OPENCV的编译规则的, 而这会导致"LIBRARIES"变量不添加"opencv_imgcodecs"库依赖.

    ifeq ($(USE_OPENCV), 1)				# Caffe源码中的Makefile原文件第200行;
    	LIBRARIES += opencv_core opencv_highgui opencv_imgproc
    
    	ifeq ($(OPENCV_VERSION), 3)
    		LIBRARIES += opencv_imgcodecs
    	endif
    
    endif
    

    此外, 编译过程中的"USE_OPENCV"变量也要赋予值"1", 而不是仅取消注释("# USE_OPENCV := 0"), 看上述编译规则的代码, 就可以知道为什么了: USE_OPENCV的值不为1的话都无法添加各种Opencv的库依赖(最外围的"ifeq ... endif"之间的代码, 包括OPENCV_VERSION=3时进入执行的语句块).

    总结一下, 不能使用"ImageData"的原因是第一次编译时确实没有编译进OPENCV相关的依赖库(当时的设置: USE_OPENCV:=0, OPENCV_VERSION:=4), 而这个设置错误(算是逻辑错误), 在语法上并没有错误, 导致顺利编译了CAFFE(没有报错), 但却在使用时报错了.

    展开全文
  • DiskGenius4.5.0免费版

    2014-04-04 16:12:02
    19、纠正在磁盘有坏道、磁盘管理器中显示“未初始化,有时未显示磁盘的问题。 20、纠正搜索丢失分区遇到坏道自动停止搜索的BUG。 21、纠正同时插入多个USB磁盘,有时软件获取到的磁盘型号序号不准的问题。 ...
  • 主机协议栈还需要一个主机资源占用的信号量,初始化默认为1,采用信号量保证了多线程同时发送主机请求,只有一个线程可以使用主机。 在 基于裸机移植 ,需要通过软件模拟方式实现事件通知机制,事件等待及资源...
  • F 修复 使用 cli 打开 project.config.json 中 projectname 为中文的项目会一直卡在初始化应用通信能力的问题 反馈详情 F 修复 ts 项目编译前命令无限执行的问题 反馈详情 F 修复 PC 端模拟器的 touchend 事件回...
  • Keras中文手册

    2018-09-18 13:35:46
    体而言,网络、损失函数、优化器、初始化策略、激活函数、正则化方法都是独立的模块,你可 以使用它们来构建自己的模型。 极简主义:每个模块都应该尽量的简洁。每一段代码都应该在初次阅读都显得直观易懂。没有...
  • 组件化时资源名冲突该怎么办?比如,color,shape,drawable,图片资源,布局资源,或者anim资源等等,都有可能造成资源名称冲突。这是为何了,有时候大家负责不同的模块,如果不是按照统一规范命名,则会偶发出现该...
  • 1、变量/指针在使用前就必须初始化 第5页 【案例1.1.1】 第5页 2、防止指针/数组操作越界 第5页 【案例1.2.1】 第5页 【案例1.2.2】 第6页 【案例1.2.3】 第7页 【案例1.2.4】 第8页 3、避免指针的非法引用 第9页 ...
  • 7.1.2 结构体类型变量的定义方法及其初始化 7.1.3 结构体变量的引用 7.1.4 结构体数组 7.1.5 指向结构体变量的指针 7.1.6 结构体类型数据作为函数参数 *7.1.7 动态分配和撤销内存的运算符new和delete 7.2 共用体 ...
  • 4.1 安装和初始化:给出程序的存储形式、操作命令、反馈信息及其做含意、表明安装完成的测试实例以及安装所需的软件工具等。 4.2 输入:给出输入数据或参数的要求。  ● 数据背景:说明数据来源、存储媒体、出现...
  •  C)初始化启动和关闭网络或网络设备  D)自动检测网络硬件和软件中的故障并通知用户。  Key: D  (44)简单网络管理协议SNMP处于网络体系结构的哪一  A)互连 B)传输 C)应用 D) 逻辑连路控制 ...
  •  0104 中断无法请求专用标志。  0105 此标志先前的所有权已终止。  0106 请将软盘插入驱动器 %1。  0107 后续软盘尚未插入,程序停止。  0108 磁盘正在使用或已由其他进程锁定。  0109 管道已经...
  • 这个项目可选择当系统开机先行对AGP或是PCI插槽来做初始化的动作。 [AGP]:当系统开机,它将会先对AGP插槽来做初始化的动作。 [PCI Slot]:当系统开机,它将会先对PCI插槽来做初始化的动作。 AGP Data ...
  • 工作流引擎解决的就是这个问题:如果应用程序缺乏强大的逻辑,势必变得容易出错(信息的路由错误、死循环等等)。 1.2. BPMN2.0规范 BPMN(Business Process Model and Notation)--业务流程模型与符号。 BPMN是...
  • C#微软培训教材(高清PDF)

    千次下载 热门讨论 2009-07-30 08:51:17
    2.2 公用语言运行环境与公用语言规范.13 2.3 开 发 工 具 .17 2.4 小 结 .19 第三章 编写第一个应用程序 .20 3.1 Welcome 程序 .20 3.2 代 码 分 析 .20 3.3 运 行 程 序 .23 .4 添 加 注 释 .25 ...
  • C#微软培训资料

    2014-01-22 14:10:17
    2.2 公用语言运行环境与公用语言规范.13 2.3 开 发 工 具 .17 2.4 小 结 .19 第三章 编写第一个应用程序 .20 3.1 Welcome 程序 .20 3.2 代 码 分 析 .20 3.3 运 行 程 序 .23 .4 添 加 注 释 .25 ...
  • netty会调用EndpointConnector.initPipeLine()方法初始化PipeLine,把CMPP协议解析器,SessionLoginManager加到PipeLine里去,然后netty触发ChannelActive事件。 在SessionLoginManager类里,客户端收到...
  • INI:初始化文件;Mwave DSP Synth的“nwsynth.ini” GMS安装;Cravis Ultrasound bank安装 INP:Oracle 3.0版或早期版本的表单源代码 INRS:INRS远程通信声频 INS:InstallShield安装脚本;X-Internet签字文件;...
  • 初始化你的Application 可以在你的自己AppApplication中配置 //是否开启日志打印 KLog.init(true); //配置全局异常崩溃操作 CaocConfig.Builder.create() .backgroundMode(CaocConfig.BACKGROUND_MODE_SILENT) //...
  • malloc 初始化代码,它将找到当前中断点并初始化我们的变量: 清单 2. 分配程序初始化函数 /* Include the sbrk function */ #include void malloc_init() { /* grab the last valid address from the OS *...
  • 操作系统(内存管理)

    热门讨论 2009-09-20 12:55:25
    这里是我们的 malloc 初始化代码,它将找到当前中断点并初始化我们的变量: 清单 2. 分配程序初始化函数 /* Include the sbrk function */ #include void malloc_init() { /* grab the last valid address ...
  • 重新创建并初始化()”方法。 8. 修改应用接口支持库,增强“取快捷方式目标”命令功能,可以获取目标、参数、启始位置、图标、运行方式、快捷键、备注等信息。 9. 修改扩展界面支持库三,解决高级选择夹会导致所在...
  • 软件工程教程

    热门讨论 2012-07-06 23:10:29
    只有在修饰增强了图的整体清晰性和可读性或者突出模型的某些重要特征,才应该表示那些修饰 公共分类 描述认识世界的特殊方法 类和实例 类元:一类事物的抽象概念;如“银行帐户” 实例:一类事物的特定实例;如...
  • B) 编译出错,数组ar[]必须初始化 C) 编译出错,Mine应声明为abstract D) 出现IndexOutOfBounds的异常。 题目17:c 下面关于抽象类描述错误的是:(选择1项) A) 抽象类的关键字是abstract,在抽象类中可以定义变量...
  • 初始化项目.新增JPA系列Entity+Repository模板. ClassInfo/TableInfo 名称 说明 packageName 自定义的包名 authorName 自定义的作者名 tableName sql中的表名 className java类名 classComment ...

空空如也

空空如也

1 2
收藏数 27
精华内容 10
关键字:

启动层初始化时出错