Tag Archives: c1

Vmware Virtual Machine ubuntu Compile Error: fatal error: Killed signal terminated program cc1plus

VMware virtual machine
Ubuntu compiles opencv with an error of 92%.
fatal error: killed signal terminated program cc1plus.

Cause: the virtual machine is out of allocated memory.

Close the client, edit the client settings, and expand the memory to 4G.

After confirmation, restart the virtual machine and execute the compile command again. Generally, the system will compile and will not restart.

[Solved] weblogic12c start the project error: BeanFactoryAware is missing

1. The project is not a spring project and does not reference any spring related packages
2. No error is reported when starting under Tomcat
3. No error is reported in weblogic10g and no error is reported in 12C
the error information is as follows:


weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanFactoryAware
 at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:131)
 at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:245)
 at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:53)
 at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
 at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
 Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanFactoryAware
 at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:981)
 at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:942)
 at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83)
 at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:564)
 at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:500)
 Truncated. see log file for complete stacktrace

Through the error message, it is judged that it is caused by a spring bean, but my project does not reference spring at all. It is suspected that it is caused by jar package conflict

Solution:
If Druid’s jar package is referenced in your project, it’s probably the problem. Upgrade the Druid jar package or downgrade the version of the Druid jar package in the project. We are from druid-1.0.10 upgrade to druid-1.0.3 problem solving. Druid’s jar package download address is attached.

https://archive.apache.org/dist/druid/