Java heap space错误怎么解决的?

日期: 栏目:跨境 浏览:1622 评论:0

项目是导入的别人的,下面是console
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.zjtzsw.sjjy:ZJSX2014:war:1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 112, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 75, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 112, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 96, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building 就业项目 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> jetty-maven-plugin:8.1.9.v20130131:run (default-cli) > test-compile @ ZJSX2014 >>>
[WARNING] The POM for com.zjtzsw:sjjy:jar:api:1.0.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ZJSX2014 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 653 resources
[INFO] Copying 227 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ZJSX2014 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ZJSX2014 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/mockingjay/Documents/workspace/ZJSX2014/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ZJSX2014 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< jetty-maven-plugin:8.1.9.v20130131:run (default-cli) < test-compile @ ZJSX2014 <<<
[INFO] 
[INFO] --- jetty-maven-plugin:8.1.9.v20130131:run (default-cli) @ ZJSX2014 ---
[INFO] Configuring Jetty for project: 就业项目
[INFO] webAppSourceDirectory not set. Defaulting to /Users/mockingjay/Documents/workspace/ZJSX2014/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = /Users/mockingjay/Documents/workspace/ZJSX2014/target/classes
[INFO] Context path = /lemis
[INFO] Tmp directory = /Users/mockingjay/Documents/workspace/ZJSX2014/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:/Users/mockingjay/Documents/workspace/ZJSX2014/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/mockingjay/Documents/workspace/ZJSX2014/src/main/webapp
[INFO] jetty-8.1.9.v20130131
[INFO] No Transaction manager found - if your webapp requires one, please configure one.
[INFO] No Spring WebApplicationInitializer types detected on classpath
[INFO] Initializing Spring root WebApplicationContext
[INFO] Root WebApplicationContext: initialization started (ContextLoader.java:273)
[INFO] Refreshing Root WebApplicationContext: startup date [Wed Aug 15 08:40:23 CST 2018]; root of context hierarchy (AbstractApplicationContext.java:495)
[INFO] Loading XML bean definitions from class path resource [applicationContext.xml] (XmlBeanDefinitionReader.java:315)
[INFO] JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning (ClassPathScanningCandidateComponentProvider.java:202)
[INFO] JSR-330 'javax.inject.Named' annotation found and supported for component scanning (ClassPathScanningCandidateComponentProvider.java:210)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-comsubsidy.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-reemployment.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-common.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-daoru.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-sysmanager.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-organization.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-payment.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-android.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-miniui.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-entrepsubsidv.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-personsubsidy.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-graduate.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-othermessage.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/migrate/applicationContext-bean-basicinfo.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/extension/spring/applicationContext-x.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading XML bean definitions from file [/Users/mockingjay/Documents/workspace/ZJSX2014/target/classes/extension/spring/applicationContext-bean-laboragency.xml] (XmlBeanDefinitionReader.java:315)
[INFO] Loading properties file from class path resource [db.properties] (PropertiesLoaderSupport.java:177)
[INFO] JSR-330 'javax.inject.Inject' annotation found and supported for autowiring ()> (AutowiredAnnotationBeanPostProcessor.java:139)
[INFO] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4c821f8c: defining beans [cb57Services,cc73Services,ce24Services,ce19Services,cc59Services,ce20Services,cc70Services,ce3233Services,ce27Services,cc74Services,ce23Services,ce3031Services,cb69Services,ce3738Services,cb67Services,cb60Services,cb58Services,cb65Services,cb66Services,cc72hServices,ce3435Services,ce3839Services,ce28Services,ce22Services,cc75Services,ce26Services,labpublicServices,cb68Services,cb56Services,ce21Services,ce25Services,cc72Services,cd07Services,cd06Services,cd1119Services,cd1113Services,cd1117Services,cd1114Services,aa12Services,cd1115Services,cd1111Services,cd1116Services,cd1112Services,cd1118Services,cd1302Services,cd1301Services,cd1303Services,cd1201Services,cd130403Services,cd3327Services,cd130401Services,cd130402Services,cd8004Services,cd6131Services,cd6152Services,cd6121Services,personSubsidyServices,comSubsidyServices,oftenfunServices,aa33Services,daoRuServices,sc13Services,ca11Services,sc10Services,ze12Services,sc14Services,sc03Services,sc89Services,aa10Services,sc20Services,aa01Services,sc18Services,ad13Services,sc88Services,sc01dmServices,sc02Services,sc11Services,sc06Services,sc01Services,sc05Services,sc12Services,homeInfoServices,homeServices,personalServices,pubsearchServices,miniuiServices,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,dataSource,sqlSessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,txAdvice,allManagerMethod,allManagerMethod2,allManagerMethod3,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#2,comSubsidyMapper,aa33Mapper,oftenfunMapper,daoRuMapper,sc01Mapper,sc02Mapper,sc01dmMapper,sc03Mapper,sc06Mapper,ad13Mapper,sc05Mapper,sc88Mapper,sc89Mapper,ze12Mapper,cd1111Mapper,cd1112Mapper,cd1113Mapper,cd1114Mapper,cd1115Mapper,cd1116Mapper,cd1117Mapper,cd1118Mapper,cd1119Mapper,aa12Mapper,cd3327Mapper,cd130401Mapper,cd130402Mapper,cd130403Mapper,cd8004Mapper,homeMapper,homeinfoMapper,personalMapper,pubsearchMapper,miniuiMapper,entrepSubsidyMapper,personSubsidyMapper,cd6131Mapper,cd6121Mapper,cd6152Mapper,cd1301Mapper,cd1302Mapper,cd1303Mapper,cd1201Mapper,cb60Mapper,cb65Mapper,cb66Mapper,cb67Mapper,cb68Mapper,cb69Mapper,labpublicMapper,cb57Mapper,cb58Mapper,ce23Mapper,ce22Mapper,cb56Mapper,cc72Mapper,cc72hMapper,cc73Mapper,ce21Mapper,cc70Mapper,cc75Mapper,cc59Mapper,ce3435Mapper,cc74Mapper,ce19Mapper,ce20Mapper,ce24Mapper,ce25Mapper,aa10Mapper,aa01Mapper,sc10Mapper,sc11Mapper,sc12Mapper,sc13Mapper,sc14Mapper,sc18Mapper,sc20Mapper,ca11Mapper,ce26Mapper,ce27Mapper,ce28Mapper,ce3031Mapper,ce3233Mapper,ce3738Mapper,ce3839Mapper,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy (DefaultListableBeanFactory.java:557)
[INFO] MLog clients using log4j logging. ()> (MLog.java:80)
[INFO] Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; trace: 10] (C3P0Registry.java:204)
[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4c821f8c: defining beans [cb57Services,cc73Services,ce24Services,ce19Services,cc59Services,ce20Services,cc70Services,ce3233Services,ce27Services,cc74Services,ce23Services,ce3031Services,cb69Services,ce3738Services,cb67Services,cb60Services,cb58Services,cb65Services,cb66Services,cc72hServices,ce3435Services,ce3839Services,ce28Services,ce22Services,cc75Services,ce26Services,labpublicServices,cb68Services,cb56Services,ce21Services,ce25Services,cc72Services,cd07Services,cd06Services,cd1119Services,cd1113Services,cd1117Services,cd1114Services,aa12Services,cd1115Services,cd1111Services,cd1116Services,cd1112Services,cd1118Services,cd1302Services,cd1301Services,cd1303Services,cd1201Services,cd130403Services,cd3327Services,cd130401Services,cd130402Services,cd8004Services,cd6131Services,cd6152Services,cd6121Services,personSubsidyServices,comSubsidyServices,oftenfunServices,aa33Services,daoRuServices,sc13Services,ca11Services,sc10Services,ze12Services,sc14Services,sc03Services,sc89Services,aa10Services,sc20Services,aa01Services,sc18Services,ad13Services,sc88Services,sc01dmServices,sc02Services,sc11Services,sc06Services,sc01Services,sc05Services,sc12Services,homeInfoServices,homeServices,personalServices,pubsearchServices,miniuiServices,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,dataSource,sqlSessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,txAdvice,allManagerMethod,allManagerMethod2,allManagerMethod3,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#2,comSubsidyMapper,aa33Mapper,oftenfunMapper,daoRuMapper,sc01Mapper,sc02Mapper,sc01dmMapper,sc03Mapper,sc06Mapper,ad13Mapper,sc05Mapper,sc88Mapper,sc89Mapper,ze12Mapper,cd1111Mapper,cd1112Mapper,cd1113Mapper,cd1114Mapper,cd1115Mapper,cd1116Mapper,cd1117Mapper,cd1118Mapper,cd1119Mapper,aa12Mapper,cd3327Mapper,cd130401Mapper,cd130402Mapper,cd130403Mapper,cd8004Mapper,homeMapper,homeinfoMapper,personalMapper,pubsearchMapper,miniuiMapper,entrepSubsidyMapper,personSubsidyMapper,cd6131Mapper,cd6121Mapper,cd6152Mapper,cd1301Mapper,cd1302Mapper,cd1303Mapper,cd1201Mapper,cb60Mapper,cb65Mapper,cb66Mapper,cb67Mapper,cb68Mapper,cb69Mapper,labpublicMapper,cb57Mapper,cb58Mapper,ce23Mapper,ce22Mapper,cb56Mapper,cc72Mapper,cc72hMapper,cc73Mapper,ce21Mapper,cc70Mapper,cc75Mapper,cc59Mapper,ce3435Mapper,cc74Mapper,ce19Mapper,ce20Mapper,ce24Mapper,ce25Mapper,aa10Mapper,aa01Mapper,sc10Mapper,sc11Mapper,sc12Mapper,sc13Mapper,sc14Mapper,sc18Mapper,sc20Mapper,ca11Mapper,ce26Mapper,ce27Mapper,ce28Mapper,ce3031Mapper,ce3233Mapper,ce3738Mapper,ce3839Mapper,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy (DefaultSingletonBeanRegistry.java:433)
[WARNING] FAILED o.m.j.p.JettyWebAppContext{/lemis,[file:/Users/mockingjay/Documents/workspace/ZJSX2014/src/main/webapp/, file:/Users/mockingjay/Documents/workspace/ZJSX2014/target/ProductWebapp/]},[file:/Users/mockingjay/Documents/workspace/ZJSX2014/src/main/webapp/, file:/Users/mockingjay/Documents/workspace/ZJSX2014/target/ProductWebapp/]: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:237)
at java.io.StringWriter.write(StringWriter.java:112)
at java.io.PrintWriter.write(PrintWriter.java:456)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printStackTrace(Throwable.java:667)
at java.lang.Throwable.printStackTrace(Throwable.java:721)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:176)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:180)
at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:308)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[WARNING] FAILED org.eclipse.jetty.server.handler.ContextHandlerCollection@133804ce: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:237)
at java.io.StringWriter.write(StringWriter.java:112)
at java.io.PrintWriter.write(PrintWriter.java:456)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printStackTrace(Throwable.java:667)
at java.lang.Throwable.printStackTrace(Throwable.java:721)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:176)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:180)
at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:308)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[WARNING] FAILED org.eclipse.jetty.server.handler.HandlerCollection@42c37a3d: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:237)
at java.io.StringWriter.write(StringWriter.java:112)
at java.io.PrintWriter.write(PrintWriter.java:456)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printStackTrace(Throwable.java:667)
at java.lang.Throwable.printStackTrace(Throwable.java:721)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:176)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:180)
at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:308)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[WARNING] FAILED org.mortbay.jetty.plugin.JettyServer@7f8600ed: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:237)
at java.io.StringWriter.write(StringWriter.java:112)
at java.io.PrintWriter.write(PrintWriter.java:456)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
at java.lang.Throwable.printStackTrace(Throwable.java:667)
at java.lang.Throwable.printStackTrace(Throwable.java:721)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:176)
at org.springframework.beans.factory.BeanCreationException.printStackTrace(BeanCreationException.java:180)
at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:308)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[INFO] Jetty server exiting.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:27 min
[INFO] Finished at: 2018-08-15T08:41:01+08:00
[INFO] Final Memory: 20M/499M
[INFO] ------------------------------------------------------------------------
[ERROR] Java heap space -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError

评论留言

我要留言

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。发布前请先查看评论规则:点我查看