I have this error trying to migrate from 3 to 4. Please help

Forum for questions and issues related to 3.0 migration.

Those wishing to upgrade should start by looking at the migration documents published on the Broadleaf Commerce documentation site.

Moderator: jocanas

mayorsanmayor
Newbie
Newbie
Posts: 2
Joined: Sun May 03, 2015 5:54 pm

I have this error trying to migrate from 3 to 4. Please help

Postby mayorsanmayor » Sun May 03, 2015 6:02 pm

Everything worked until now. Can't view the page after jetty starts. I got a 404 error.


[artifact:mvn] [INFO] jetty-8.1.5.v20120716
[artifact:mvn] [INFO] No Transaction manager found - if your webapp requires one, please configure one.
[artifact:mvn] SLF4J: Class path contains multiple SLF4J bindings.
[artifact:mvn] SLF4J: Found binding in [jar:file:/Users/Mayor/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[artifact:mvn] SLF4J: Found binding in [jar:file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[artifact:mvn] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[artifact:mvn] SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[artifact:mvn] [INFO] started o.m.j.p.JettyWebAppContext{/,file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/},file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/
[artifact:mvn] [INFO] started o.m.j.p.JettyWebAppContext{/,file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/},file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/
[artifact:mvn] [INFO] Set web app root system property: 'site.root' = [/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci]
[artifact:mvn] [INFO] Initializing log4j from [/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/WEB-INF/log4j.xml]
[artifact:mvn] [INFO] started o.m.j.p.JettyWebAppContext{/,file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/},file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/
[artifact:mvn] [INFO] Initializing Spring root WebApplicationContext
[artifact:mvn] [ WARN] 23:54:56 MergeXmlWebApplicationContext - Unable to use automatic applicationContext loading. To avoid this, upgrade your poms to reference the latest versions of all modules.
[artifact:mvn] [SUPPORT] 23:55:06 DirectCopyClassTransformer - Basic Inventory Management - START - Transform - Copying into [org.broadleafcommerce.core.catalog.domain.SkuImpl] from [org.broadleafcommerce.core.catalog.domain.QuantityAvailableSkuTemplate]
[artifact:mvn] [ WARN] 23:55:06 ClassFileTransformerAdapter - Error weaving class [org/broadleafcommerce/core/catalog/domain/SkuImpl] with transformer of class [org.broadleafcommerce.common.extensibility.jpa.copy.DirectCopyClassTransformer]
[artifact:mvn] java.lang.RuntimeException: Unable to transform class
[artifact:mvn] at org.broadleafcommerce.common.extensibility.jpa.copy.DirectCopyClassTransformer.transform(DirectCopyClassTransformer.java:354)
[artifact:mvn] at org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.transform(ClassFileTransformerAdapter.java:56)
[artifact:mvn] at org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver$FilteringClassFileTransformer.transform(InstrumentationLoadTimeWeaver.java:184)
[artifact:mvn] at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
[artifact:mvn] at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
[artifact:mvn] at java.lang.ClassLoader.defineClass1(Native Method)
[artifact:mvn] at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
[artifact:mvn] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[artifact:mvn] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[artifact:mvn] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[artifact:mvn] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[artifact:mvn] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[artifact:mvn] at java.security.AccessController.doPrivileged(Native Method)
[artifact:mvn] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
[artifact:mvn] at java.lang.Class.forName0(Native Method)
[artifact:mvn] at java.lang.Class.forName(Class.java:348)
[artifact:mvn] at org.broadleafcommerce.common.extensibility.jpa.MergePersistenceUnitManager.preparePersistenceUnitInfos(MergePersistenceUnitManager.java:234)
[artifact:mvn] at org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager.afterPropertiesSet(DefaultPersistenceUnitManager.java:424)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
[artifact:mvn] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[artifact:mvn] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
[artifact:mvn] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1469)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
[artifact:mvn] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
[artifact:mvn] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
[artifact:mvn] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
[artifact:mvn] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
[artifact:mvn] at org.broadleafcommerce.common.web.extensibility.MergeContextLoader.contextInitialized(MergeContextLoader.java:148)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766)
[artifact:mvn] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758)
[artifact:mvn] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1233)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:701)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:475)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
[artifact:mvn] at org.eclipse.jetty.server.Server.doStart(Server.java:272)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:516)
[artifact:mvn] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
[artifact:mvn] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[artifact:mvn] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
[artifact:mvn] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
[artifact:mvn] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
[artifact:mvn] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
[artifact:mvn] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
[artifact:mvn] at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[artifact:mvn] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[artifact:mvn] at java.lang.reflect.Method.invoke(Method.java:497)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[artifact:mvn] at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
[artifact:mvn] Caused by: javassist.bytecode.DuplicateMemberException: duplicate field: quantityAvailable
[artifact:mvn] at javassist.bytecode.ClassFile.testExistingField(ClassFile.java:602)
[artifact:mvn] at javassist.bytecode.ClassFile.addField(ClassFile.java:580)
[artifact:mvn] at javassist.CtClassType.addField(CtClassType.java:1265)
[artifact:mvn] at javassist.CtClass.addField(CtClass.java:1049)
[artifact:mvn] at org.broadleafcommerce.common.extensibility.jpa.copy.DirectCopyClassTransformer.transform(DirectCopyClassTransformer.java:298)
[artifact:mvn] ... 88 more
[artifact:mvn] [ WARN] 23:55:10 AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [blSandBoxElements]; using defaults.
[artifact:mvn] [ERROR] 23:55:11 SchemaExport - HHH000231: Schema export unsuccessful
[artifact:mvn] org.hibernate.tool.hbm2ddl.ImportScriptException: Error during statement execution (file: '/sql/load_content_structure.sql'): INSERT INTO BLC_PGTMPLT_FLDGRP_XREF(PAGE_TMPLT_ID, FLD_GROUP_ID, GROUP_ORDER) VALUES (1,1,0)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:451)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:378)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
[artifact:mvn] at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
[artifact:mvn] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742)
[artifact:mvn] at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
[artifact:mvn] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
[artifact:mvn] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
[artifact:mvn] at org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51)
[artifact:mvn] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
[artifact:mvn] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
[artifact:mvn] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
[artifact:mvn] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
[artifact:mvn] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
[artifact:mvn] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
[artifact:mvn] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
[artifact:mvn] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
[artifact:mvn] at org.broadleafcommerce.common.web.extensibility.MergeContextLoader.contextInitialized(MergeContextLoader.java:148)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766)
[artifact:mvn] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758)
[artifact:mvn] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1233)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:701)
[artifact:mvn] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:475)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
[artifact:mvn] at org.eclipse.jetty.server.Server.doStart(Server.java:272)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
[artifact:mvn] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
[artifact:mvn] at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
[artifact:mvn] at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:516)
[artifact:mvn] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[artifact:mvn] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
[artifact:mvn] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
[artifact:mvn] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[artifact:mvn] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
[artifact:mvn] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
[artifact:mvn] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
[artifact:mvn] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
[artifact:mvn] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
[artifact:mvn] at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[artifact:mvn] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[artifact:mvn] at java.lang.reflect.Method.invoke(Method.java:497)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[artifact:mvn] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[artifact:mvn] at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
[artifact:mvn] Caused by: java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: NOT NULL check constraint; SYS_CT_30045 table: BLC_PGTMPLT_FLDGRP_XREF column: PG_TMPLT_FLD_GRP_ID
[artifact:mvn] at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
[artifact:mvn] at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
[artifact:mvn] at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
[artifact:mvn] at org.hsqldb.jdbc.JDBCStatement.executeUpdate(Unknown Source)
[artifact:mvn] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
[artifact:mvn] at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
[artifact:mvn] at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:446)
[artifact:mvn] ... 70 more
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update/csv ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update/json ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update/csv ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [ WARN] 23:55:21 RequestHandlers - Multiple requestHandler registered to the same name: /update/json ignoring: org.apache.solr.handler.UpdateRequestHandler
[artifact:mvn] [INFO] started o.m.j.p.JettyWebAppContext{/,file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/},file:/Users/Mayor/Documents/workspace/eclipse-workspace/DemoSite/site/target/pascalsci/
[artifact:mvn] [INFO] Initializing Spring FrameworkServlet 'RESTApiServlet'
[artifact:mvn] [INFO] Initializing Spring FrameworkServlet 'pascalsci'
[artifact:mvn] [INFO] Started SelectChannelConnector@0.0.0.0:8080
[artifact:mvn] [INFO] Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
[artifact:mvn] [INFO] Started SslSelectChannelConnector@0.0.0.0:8443
[artifact:mvn] [INFO] Started Jetty Server



Can't View the page after the server starts
[artifact:mvn] [ WARN] 23:56:58 PageNotFound - No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'pascalsci'
[artifact:mvn] [ WARN] 23:57:10 PageNotFound - No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'pascalsci'


Please give me a hint on want to do. God bless.

Theo Schumacher
Intermediate
Intermediate
Posts: 64
Joined: Fri Nov 04, 2011 4:28 am

Re: I have this error trying to migrate from 3 to 4. Please help

Postby Theo Schumacher » Fri May 08, 2015 9:09 am

did you do the database upgrade as described in the migration guide on github ?
Theo

mayorsanmayor
Newbie
Newbie
Posts: 2
Joined: Sun May 03, 2015 5:54 pm

Re: I have this error trying to migrate from 3 to 4. Please help

Postby mayorsanmayor » Mon May 25, 2015 9:41 am

Thanks, I have been able resolve this problem. I downloaded the new version and reconfigured everything


Return to “3.0 Upgrade and Migration”

Who is online

Users browsing this forum: No registered users and 2 guests