2011年2月27日日曜日

Test Springsource Roo 1.1.2 RELEASE (3) Run project

Finally. I run it with
mvn tomcat:run

and it tell me the following class cannot be found.

ora/dom4j/Element
javaassist/...

The classes are parts of the required packages of hibernate-entitymanager and wroted in pom.xml.
And the packages are download to .m2 folder.

I tried duzzen of methods to make mvn notice the packages, but the only worked is cheat the mvn to load the classes.
- I packed all the required classes of hibernate-distribution-3.6.1.Final.zip into hibernate-entitymanager.3.6.1.jar and update .m2 .

Anyway, it works!


C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:07:39 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:07:39 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:07:39 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011-02-27 20:07:40,880 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/dom4j/Element
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/dom4j/Element
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/Element
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.dom4j.Element
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 55 more
2011/02/27 20:07:40 org.apache.catalina.core.StandardContext listenerStart
致命的: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/dom4j/Element
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/dom4j/Element
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/Element
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.dom4j.Element
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 55 more
2011/02/27 20:07:40 org.apache.catalina.core.StandardContext start
致命的: Error listenerStart
2011/02/27 20:07:40 org.apache.catalina.core.StandardContext start
致命的: Context [/wedding] startup failed due to previous errors
2011/02/27 20:07:40 org.apache.catalina.core.ApplicationContext log
情報: Closing Spring root WebApplicationContext
バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate3:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/release

)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate3:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/miles

tone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate3:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.springsour

ce.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate3:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content/rep

ositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate3:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate3:jar:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/release

)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate3:jar:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/miles

tone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.jar

[INFO] Unable to find resource 'org.hibernate:hibernate3:jar:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.springsour

ce.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.jar

[WARNING] Unable to get resource 'org.hibernate:hibernate3:jar:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content/rep

ositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate3/3.6.1.Final/hibernate3-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate3:jar:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.hibernate:hibernate3:jar:3.6.1.Final

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate3 -Dversion=3.6.1.Final -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate3 -Dversion=3.6.1.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -D

repositoryId=[id]

  Path to dependency:
        1) com.wedding:wedding:war:0.1.0.BUILD-SNAPSHOT
        2) org.hibernate:hibernate3:jar:3.6.1.Final

----------
1 required artifact is missing.

for artifact:
  com.wedding:wedding:war:0.1.0.BUILD-SNAPSHOT

from the specified remote repositories:
  spring-maven-milestone (http://maven.springframework.org/milestone),
  central (http://repo1.maven.org/maven2),
  spring-roo-repository (http://spring-roo-repository.springsource.org/release),
  spring-maven-release (http://maven.springframework.org/release),
  JBoss Repo (https://repository.jboss.org/nexus/content/repositories/releases)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Sun Feb 27 20:13:35 JST 2011
[INFO] Final Memory: 17M/31M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.6.1.Final -Dpackaging=jar -Dfi

le=hibernate-entitymanager-3.6.1.Final.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing C:¥home¥spring¥sample¥hibernate-entitymanager-3.6.1.Final.jar to C:¥Documents and Settings¥1049130¥.m2¥repository¥org¥hibernate¥hibe

rnate-entitymanager¥3.6.1.Final¥hibernate-entitymanager-3.6.1.Final.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sun Feb 27 20:26:02 JST 2011
[INFO] Final Memory: 14M/25M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/release)

Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/milest

one)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.springsourc

e.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content/repo

sitories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate:jar:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/release)

Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate:jar:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/milest

one)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.jar

[INFO] Unable to find resource 'org.hibernate:hibernate:jar:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.springsourc

e.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.jar

[WARNING] Unable to get resource 'org.hibernate:hibernate:jar:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content/repo

sitories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate/3.6.1.Final/hibernate-3.6.1.Final.jar
[INFO] Unable to find resource 'org.hibernate:hibernate:jar:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.hibernate:hibernate:jar:3.6.1.Final

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate -Dversion=3.6.1.Final -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate -Dversion=3.6.1.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dr

epositoryId=[id]

  Path to dependency:
        1) com.wedding:wedding:war:0.1.0.BUILD-SNAPSHOT
        2) org.hibernate:hibernate:jar:3.6.1.Final

----------
1 required artifact is missing.

for artifact:
  com.wedding:wedding:war:0.1.0.BUILD-SNAPSHOT

from the specified remote repositories:
  spring-maven-milestone (http://maven.springframework.org/milestone),
  central (http://repo1.maven.org/maven2),
  spring-roo-repository (http://spring-roo-repository.springsource.org/release),
  spring-maven-release (http://maven.springframework.org/release),
  JBoss Repo (https://repository.jboss.org/nexus/content/repositories/releases)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Sun Feb 27 20:27:59 JST 2011
[INFO] Final Memory: 17M/31M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:28:27 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:28:27 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:28:35 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011-02-27 20:28:36,647 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/dom4j/Element
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/dom4j/Element
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/Element
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.dom4j.Element
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 55 more
2011/02/27 20:28:36 org.apache.catalina.core.StandardContext listenerStart
致命的: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/dom4j/Element
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/dom4j/Element
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/Element
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.dom4j.Element
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 55 more
2011/02/27 20:28:36 org.apache.catalina.core.StandardContext start
致命的: Error listenerStart
2011/02/27 20:28:36 org.apache.catalina.core.StandardContext start
致命的: Context [/wedding] startup failed due to previous errors
2011/02/27 20:28:36 org.apache.catalina.core.ApplicationContext log
情報: Closing Spring root WebApplicationContext
バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.6.1.Final -Dpackaging=jar -Dfi

le=hibernate-entitymanager-3.6.1.Final.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing C:¥home¥spring¥sample¥hibernate-entitymanager-3.6.1.Final.jar to C:¥Documents and Settings¥1049130¥.m2¥repository¥org¥hibernate¥hibe

rnate-entitymanager¥3.6.1.Final¥hibernate-entitymanager-3.6.1.Final.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sun Feb 27 20:32:44 JST 2011
[INFO] Final Memory: 14M/25M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:33:02 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:33:02 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:33:03 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011-02-27 20:33:05,185 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: javassist/bytecode/ClassFile
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: javassist/bytecode/ClassFile
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
        at org.hibernate.ejb.packaging.AbstractJarVisitor.checkAnnotationMatching(AbstractJarVisitor.java:243)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.executeJavaElementFilter(AbstractJarVisitor.java:209)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.addElement(AbstractJarVisitor.java:170)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:121)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.doProcessElements(ExplodedJarVisitor.java:87)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:146)
        at org.hibernate.ejb.packaging.NativeScanner.getClassesInJar(NativeScanner.java:128)
        at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:474)
        at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:847)
        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:590)
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 68 more
2011/02/27 20:33:05 org.apache.catalina.core.StandardContext listenerStart
致命的: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: javassist/bytecode/ClassFile
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: javassist/bytecode/ClassFile
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
        at org.hibernate.ejb.packaging.AbstractJarVisitor.checkAnnotationMatching(AbstractJarVisitor.java:243)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.executeJavaElementFilter(AbstractJarVisitor.java:209)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.addElement(AbstractJarVisitor.java:170)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:121)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:129)
        at org.hibernate.ejb.packaging.ExplodedJarVisitor.doProcessElements(ExplodedJarVisitor.java:87)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:146)
        at org.hibernate.ejb.packaging.NativeScanner.getClassesInJar(NativeScanner.java:128)
        at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:474)
        at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:847)
        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:590)
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 68 more
2011/02/27 20:33:05 org.apache.catalina.core.StandardContext start
致命的: Error listenerStart
2011/02/27 20:33:05 org.apache.catalina.core.StandardContext start
致命的: Context [/wedding] startup failed due to previous errors
2011/02/27 20:33:05 org.apache.catalina.core.ApplicationContext log
情報: Closing Spring root WebApplicationContext
バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.6.1.Final -Dpackaging=jar -Dfi

le=hibernate-entitymanager-3.6.1.Final.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing C:¥home¥spring¥sample¥hibernate-entitymanager-3.6.1.Final.jar to C:¥Documents and Settings¥1049130¥.m2¥repository¥org¥hibernate¥hibe

rnate-entitymanager¥3.6.1.Final¥hibernate-entitymanager-3.6.1.Final.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sun Feb 27 20:35:03 JST 2011
[INFO] Final Memory: 14M/25M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:35:18 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:35:18 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:35:18 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011-02-27 20:35:21,594 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/apache/commons/collections/map/LRUMap
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
        at org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71)
        at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:55)
        at org.hibernate.engine.query.QueryPlanCache.<init>(QueryPlanCache.java:76)
        at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:239)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)
        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902)
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LRUMap
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 61 more
2011/02/27 20:35:21 org.apache.catalina.core.StandardContext listenerStart
致命的: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [C:¥home¥spring¥sample¥tar

get¥classes¥META-INF¥spring¥applicationContext.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManage

rFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined i

n file [C:¥home¥spring¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.

NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13

25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in file [C:¥home¥spri

ng¥sample¥target¥classes¥META-INF¥spring¥applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError

: org/apache/commons/collections/map/LRUMap
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

        ... 43 more
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
        at org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71)
        at org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:55)
        at org.hibernate.engine.query.QueryPlanCache.<init>(QueryPlanCache.java:76)
        at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:239)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)
        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902)
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.

java:225)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477

)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

        ... 50 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LRUMap
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 61 more
2011/02/27 20:35:21 org.apache.catalina.core.StandardContext start
致命的: Error listenerStart
2011/02/27 20:35:21 org.apache.catalina.core.StandardContext start
致命的: Context [/wedding] startup failed due to previous errors
2011/02/27 20:35:21 org.apache.catalina.core.ApplicationContext log
情報: Closing Spring root WebApplicationContext
2011/02/27 20:35:21 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
致命的: The web application [/wedding] registered the JBDC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was sto

pped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011/02/27 20:35:21 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
致命的: The web application [/wedding] appears to have started a thread named [HSQLDB Timer @102abdb] but has failed to stop it. This is very likely t

o create a memory leak.
バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.6.1.Final -Dpackaging=jar -Dfi

le=hibernate-entitymanager-3.6.1.Final.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing C:¥home¥spring¥sample¥hibernate-entitymanager-3.6.1.Final.jar to C:¥Documents and Settings¥1049130¥.m2¥repository¥org¥hibernate¥hibe

rnate-entitymanager¥3.6.1.Final¥hibernate-entitymanager-3.6.1.Final.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sun Feb 27 20:37:22 JST 2011
[INFO] Final Memory: 14M/25M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:37:38 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:37:38 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:37:39 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011/02/27 20:37:42 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring FrameworkServlet 'wedding'
2011/02/27 20:37:43 org.apache.coyote.http11.Http11Protocol init
情報: Initializing Coyote HTTP/1.1 on http-8080
2011/02/27 20:37:43 org.apache.coyote.http11.Http11Protocol start
情報: Starting Coyote HTTP/1.1 on http-8080
2011/02/27 20:39:58 org.apache.catalina.core.StandardWrapperValve invoke
致命的: Servlet.service() for servlet wedding threw exception
java.lang.ClassNotFoundException: antlr.ANTLRException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:58)
        at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:98)
        at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
        at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
        at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
        at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
        at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
        at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:36

5)
        at $Proxy34.createQuery(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240)

        at $Proxy35.createQuery(Unknown Source)
        at com.wedding.domain.Rsvp_Roo_Entity.findAllRsvps_aroundBody4(Rsvp_Roo_Entity.aj:100)
        at com.wedding.domain.Rsvp_Roo_Entity.ajc$interMethod$com_wedding_domain_Rsvp_Roo_Entity$com_wedding_domain_Rsvp$findAllRsvps(Rsvp_Roo_Entity.

aj:1)
        at com.wedding.domain.Rsvp.findAllRsvps(Rsvp.java:1)
        at com.wedding.domain.Rsvp_Roo_Entity.ajc$interMethodDispatch1$com_wedding_domain_Rsvp_Roo_Entity$com_wedding_domain_Rsvp$findAllRsvps(Rsvp_Ro

o_Entity.aj)
        at com.wedding.web.RsvpController_Roo_Controller.ajc$interMethod$com_wedding_web_RsvpController_Roo_Controller$com_wedding_web_RsvpController$

populateRsvps(RsvpController_Roo_Controller.aj:110)
        at com.wedding.web.RsvpController.populateRsvps(RsvpController.java:1)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:162)

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:5

4)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java

:187)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:619)
バッチ ジョブを終了しますか (Y/N)? n
C:¥home¥spring¥sample>mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.6.1.Final -Dpackaging=jar -Dfi

le=hibernate-entitymanager-3.6.1.Final.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing C:¥home¥spring¥sample¥hibernate-entitymanager-3.6.1.Final.jar to C:¥Documents and Settings¥1049130¥.m2¥repository¥org¥hibernate¥hibe

rnate-entitymanager¥3.6.1.Final¥hibernate-entitymanager-3.6.1.Final.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sun Feb 27 20:41:35 JST 2011
[INFO] Final Memory: 13M/24M
[INFO] ------------------------------------------------------------------------
C:¥home¥spring¥sample>mvn tomcat:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wedding
[INFO]    task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframework.org/rel

ease)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframework.org/m

ilestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-repository.spring

source.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom

[WARNING] Unable to get resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexus/content

/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-core/3.6.1.Final/hibernate-core-3.6.1.Final.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-core:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-release (http://maven.springframewor

k.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-maven-milestone (http://maven.springframew

ork.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Fin

al.pom
[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository spring-roo-repository (http://spring-roo-reposito

ry.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanage

r-3.6.1.Final.pom
[WARNING] Unable to get resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' from repository JBoss Repo (https://repository.jboss.org/nexu

s/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.1.Final/hibernate-entitymanager-3.6.1.Final.pom

[INFO] Unable to find resource 'org.hibernate:hibernate-entitymanager:pom:3.6.1.Final' in repository central (http://repo1.maven.org/maven2)

Downloading: http://maven.springframework.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Fi

nal.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-release (http://mave

n.springframework.org/release)
Downloading: http://maven.springframework.org/milestone/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.

Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-maven-milestone (http://ma

ven.springframework.org/milestone)
Downloading: http://spring-roo-repository.springsource.org/release/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0

-api-1.0.0.Final.pom
[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository spring-roo-repository (http://spr

ing-roo-repository.springsource.org/release)
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibern

ate-jpa-2.0-api-1.0.0.Final.pom
[WARNING] Unable to get resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' from repository JBoss Repo (https://repositor

y.jboss.org/nexus/content/repositories/releases): Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.pom

[INFO] Unable to find resource 'org.hibernate.javax.persistence:hibernate-jpa-2.0-api:pom:1.0.0.Final' in repository central (http://repo1.maven.org/m

aven2)
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Running war on http://localhost:8080/wedding
[INFO] Using existing Tomcat server configuration at C:¥home¥spring¥sample¥target¥tomcat
2011/02/27 20:41:50 org.apache.catalina.startup.Embedded start
情報: Starting tomcat server
2011/02/27 20:41:50 org.apache.catalina.core.StandardEngine start
情報: Starting Servlet Engine: Apache Tomcat/6.0.29
2011/02/27 20:41:50 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring root WebApplicationContext
2011/02/27 20:41:53 org.apache.catalina.core.ApplicationContext log
情報: Initializing Spring FrameworkServlet 'wedding'
2011/02/27 20:41:53 org.apache.coyote.http11.Http11Protocol init
情報: Initializing Coyote HTTP/1.1 on http-8080
2011/02/27 20:41:53 org.apache.coyote.http11.Http11Protocol start
情報: Starting Coyote HTTP/1.1 on http-8080

0 件のコメント:

コメントを投稿