GVKun编程网logo

32 为 Linux 安卓 AVD 启动报错(linux avahi-daemon)

7

本文将带您了解关于32为Linux安卓AVD启动报错的新内容,同时我们还将为您解释linuxavahi-daemon的相关知识,另外,我们还将为您提供关于Archlinux升级系统内核Virtualb

本文将带您了解关于32 为 Linux 安卓 AVD 启动报错的新内容,同时我们还将为您解释linux avahi-daemon的相关知识,另外,我们还将为您提供关于Archlinux升级系统内核Virtualbox启动报错、eclispe 启动报错、Java maven 项目在 window 下运行正常,部署到 Linux 环境中启动报错,是由什么引起的?、java-环境启动报错的实用信息。

本文目录一览:

32 为 Linux 安卓 AVD 启动报错(linux avahi-daemon)

32 为 Linux 安卓 AVD 启动报错(linux avahi-daemon)

当使用 android 的 AVD 时提示以下错误:
Starting emulator for AVD ''NexusOne'' ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the ''-force-32bit'' option when invoking ''emulator''. - Set ANDROID_EMULATOR_FORCE_32BIT to ''true'' in your environment. Either one will allow you to use the 32-bit binaries, but please be aware that these will disappear in a future Android SDK release. Consider moving to a 64-bit Linux system before that happens.

提示我们有两种方法可以解决:
1)、修改~/.bashrc,添加一句:export ANDROID_EMULATOR_FORCE_32BIT=true;重启;
2)、
In Eclipse, click your Android project folder and then select Run > Run Configurations...
In the left panel of the Run Configurations dialog, select your Android project run configuration or create a new configuration.
Click the Target tab.
In the Additional Emulator Command Line Options field, enter:
-force-32bit
Run your Android project using this run configuration.


Archlinux升级系统内核Virtualbox启动报错

Archlinux升级系统内核Virtualbox启动报错

Archlinux是滚动升级的,相对而言比较稳定但是偶然会出现滚挂或个别应用无法使用。(所以我一般都在放假前升级,有Bug也好在假期时修改)。

出错场景:

  • Archlinux系统升级内核从4.14升级到4.19

错误描述:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

''/sbin/vboxconfig''

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

问题排查:

根据错误信息可以看到是内核加载问题。检查升级后的系统内核:

uname -r

查看已经安装的virtualbox对应的系统内核:

pacman -Qe |grep linux

结果为:

archlinuxcn-keyring 20190315-2
linux-firmware 20190313.efd2c1c-1
linux414 4.14.109-1
linux414-bbswitch 0.8-87
linux414-headers 4.14.109-1
linux414-nvidia 1:418.43-6

发现用的是之前414的linux内核,所以升级到419内核模块:

sudo pacman -S linux419-headers
sudo pacman -S linux419-virtualbox-host-modules

安装后重新加载vbox内核:

modprobe vboxdrv

我发现在重载内核后启动依旧是报错。于是重启系统尝试,重启后恢复正常。

参考链接

VirtualBox - ArchWiki

eclispe 启动报错

eclispe 启动报错

!ENTRY org.tigris.subversion.clientadapter.javahl 1 0 2014-03-12 09:17:50.750
!MESSAGE Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /opt/jdk1.6.0_32/jre/lib/i386/client:/opt/jdk1.6.0_32/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib

1.安装javaHL

sudo apt-get install libsvn-java

2.编辑eclipse.ini

在-vmargs下增加:

-Djava.library.path=/usr/lib/jni


Java maven 项目在 window 下运行正常,部署到 Linux 环境中启动报错,是由什么引起的?

Java maven 项目在 window 下运行正常,部署到 Linux 环境中启动报错,是由什么引起的?

设定默认时区为:GMT+8
2018-07-19 18:58:12,013 [INFO] com.eos.manager.web.listener.SpringContextListener.contextInitialized (SpringContextListener.java:17) - 加载 SpringBean 模块
2018-07-19 18:58:12,015 [INFO ] org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:305) - Root WebApplicationContext: initialization started
2018-07-19 18:58:12,087 [INFO ] org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:578) - Refreshing Root WebApplicationContext: startup date [Thu Jul 19 18:58:12 GMT+08:00 2018]; root of context hierarchy
2018-07-19 18:58:12,120 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from file [/data/tomcat8081/webapps/eos-manager/WEB-INF/classes/configs/bean/ac_anno_web.xml]
2018-07-19 18:58:12,286 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-service-0.0.1-SNAPSHOT.jar!/configs/bean/ac_activemq-conn.xml]
2018-07-19 18:58:12,302 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-service-0.0.1-SNAPSHOT.jar!/configs/bean/ac_anno_service.xml]
2018-07-19 18:58:12,371 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_anno_utils.xml]
2018-07-19 18:58:12,402 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_config.xml]
2018-07-19 18:58:12,414 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]
2018-07-19 18:58:12,439 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_redisclient.xml]
2018-07-19 18:58:12,704 [INFO ] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317) - Loading XML bean definitions from file [/data/tomcat8081/webapps/eos-manager/WEB-INF/classes/configs/bean/ac_anno_web.xml]
2018-07-19 18:58:12,815 [INFO ] org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:172) - Loading properties file from file [/data/tomcat8081/webapps/eos-manager/WEB-INF/classes/configs/conf/z_custom.conf]
2018-07-19 18:58:12,815 [INFO ] org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:172) - Loading properties file from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-service-0.0.1-SNAPSHOT.jar!/configs/conf/public.conf]
2018-07-19 18:58:12,815 [INFO ] org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:172) - Loading properties file from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/conf/jdbc.conf]
2018-07-19 18:58:12,816 [INFO ] org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:172) - Loading properties file from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/conf/mailtemplate.conf]
2018-07-19 18:58:12,816 [INFO ] org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:172) - Loading properties file from URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/conf/redis.conf]
2018-07-19 18:58:12,818 [INFO] com.eos.utils.configutil.SpringPropertyConfiguer.processProperties (SpringPropertyConfiguer.java:35) - 加载外部配置文件夹:/opt/bitstar/config/bsts
2018-07-19 18:58:12,854 [INFO ] org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor.setBeanFactory(AsyncAnnotationBeanPostProcessor.java:143) - No TaskExecutor bean found for async annotation processing.
2018-07-19 18:58:12,994 [INFO ] com.mchange.v2.log.MLog.<clinit>(MLog.java:80) - MLog clients using log4j logging.
2018-07-19 18:58:13,009 [WARN ] org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''adDaoImpl'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eos.utils.dbutil.CommonDao com.eos.service.ad.daoimpl.AdDaoImpl.commonDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''commonDao'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.eos.utils.dbutil.CommonDao.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
2018-07-19 18:58:13,018 [ERROR] org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:351) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''adDaoImpl'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eos.utils.dbutil.CommonDao com.eos.service.ad.daoimpl.AdDaoImpl.commonDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''commonDao'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.eos.utils.dbutil.CommonDao.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    at com.eos.manager.web.listener.SpringContextListener.contextInitialized(SpringContextListener.java:22)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4884)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5347)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:973)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eos.utils.dbutil.CommonDao com.eos.service.ad.daoimpl.AdDaoImpl.commonDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''commonDao'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.eos.utils.dbutil.CommonDao.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 27 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''commonDao'': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.eos.utils.dbutil.CommonDao.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
    ... 29 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.eos.utils.dbutil.CommonDao.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''sessionFactory'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Cannot resolve reference to bean ''dataSource'' while setting bean property ''dataSource''; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
    ... 42 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ''dataSource'' defined in URL [jar:file:/data/tomcat8081/webapps/eos-manager/WEB-INF/lib/eos-utils-0.0.1-SNAPSHOT.jar!/configs/bean/ac_database.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
    ... 55 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
    ... 63 more
Caused by: java.lang.ExceptionInInitializerError
    at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:54)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:74)
    at com.mchange.v2.c3p0.AbstractComboPooledDataSource.<init>(AbstractComboPooledDataSource.java:142)
    at com.mchange.v2.c3p0.AbstractComboPooledDataSource.<init>(AbstractComboPooledDataSource.java:138)
    at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:47)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    ... 65 more
Caused by: java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy15.find(Unknown Source)
    at com.mchange.v2.cfg.MConfig.readVmConfig(MConfig.java:75)
    at com.mchange.v2.c3p0.cfg.C3P0Config.findLibraryMultiPropertiesConfig(C3P0Config.java:157)
    at com.mchange.v2.c3p0.cfg.C3P0Config.<clinit>(C3P0Config.java:143)
    ... 75 more
Caused by: 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:497)
    at com.mchange.v1.lang.Synchronizer$1.invoke(Synchronizer.java:58)
    ... 79 more
Caused by: java.lang.NoSuchMethodError: com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>([Ljava/lang/String;Ljava/util/List;)V
    at com.mchange.v2.cfg.ConfigUtils.read(ConfigUtils.java:63)
    at com.mchange.v2.cfg.MConfig$CSManager.recreateFromKey(MConfig.java:153)
    at com.mchange.v1.cachedstore.NoCleanupCachedStore.find(NoCleanupCachedStore.java:63)
    ... 84 more
19-Jul-2018 18:58:13.024 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file

java-环境启动报错

java-环境启动报错

五月 14, 2019 5:54:23 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
五月 14, 2019 5:54:23 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/xxx-admin] startup failed due to previous errors
五月 14, 2019 5:54:24 下午 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
严重: The web application [/xxx-admin] created a ThreadLocal with key of type [com.xxx.rsf.util.jdk7.ThreadLocalRandom$1] (value [com.xxx.rsf.util.jdk7.ThreadLocalRandom$1@8d139ab]) and a value of type [com.xxx.rsf.util.jdk7.ThreadLocalRandom] (value [com.xxx.rsf.util.jdk7.ThreadLocalRandom@2af0d1b1]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
[2019-05-14 05:54:24,075] Artifact xxx-admin:war exploded: Error during artifact deployment. See server log for details.
五月 14, 2019 5:54:24 下午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load org.apache.zookeeper.server.ZooTrace. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1813)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1771)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1188)

 

原因: 

<select id=" " parameterType="java.util.Map" resultType=" ">  id 重复...mybatis 映射报错

今天关于32 为 Linux 安卓 AVD 启动报错linux avahi-daemon的分享就到这里,希望大家有所收获,若想了解更多关于Archlinux升级系统内核Virtualbox启动报错、eclispe 启动报错、Java maven 项目在 window 下运行正常,部署到 Linux 环境中启动报错,是由什么引起的?、java-环境启动报错等相关知识,可以在本站进行查询。

本文标签: