[Deploying Sakai] open-syllabus

anders.nordqvist at his.se anders.nordqvist at his.se
Tue Sep 20 01:15:25 PDT 2011


Hi,

Im having problems getting open-syllabus to work in our test environment. Im following the directions from the confluence page:

https://confluence.sakaiproject.org/display/OSYL/Get+the+source+code

First Im downloading and installing the jsp-adapter and then syllabus. When I install syllabus Im getting these errors (although the build is successful):

[ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java'
[INFO]          [ERROR] Line 20: The import javax.validation.ConstraintViolation cannot be resolved
[INFO]          [ERROR] Line 97: ConstraintViolation cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java'
[INFO]          [ERROR] Line 28: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type BaseEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver<T> but does not override it
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
[INFO]          [ERROR] Line 31: The import javax.validation.ConstraintViolation cannot be resolved
[INFO]          [ERROR] Line 67: ConstraintViolation cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'
[INFO]          [ERROR] Line 25: The import javax.validation.ConstraintViolation cannot be resolved
[INFO]          [ERROR] Line 40: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 43: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 44: Missing code implementation in the compiler
[INFO]          [ERROR] Line 49: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 49: Missing code implementation in the compiler
[INFO]          [ERROR] Line 70: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 72: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 73: ConstraintViolation<?> cannot be resolved to a type
[INFO]          [ERROR] Line 77: ConstraintViolation<capture#2-of ?> cannot be resolved to a type
[INFO]          [ERROR] Line 81: ConstraintViolation<capture#3-of ?> cannot be resolved to a type
[INFO]          [ERROR] Line 89: ConstraintViolation<capture#4-of ?> cannot be resolved to a type
[INFO]          [ERROR] Line 93: ConstraintViolation<capture#5-of ?> cannot be resolved to a type
[INFO]          [ERROR] Line 98: ConstraintViolation cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java'
[INFO]          [ERROR] Line 26: The import javax.validation.ConstraintViolation cannot be resolved
[INFO]          [ERROR] Line 35: The type MockSimpleBeanEditorDriver<T,E> must implement the inherited abstract method EditorDriver<T>.setConstraintViolations(Iterable<ConstraintViolation<?>>)
[INFO]          [ERROR] Line 107: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type MockSimpleBeanEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver<T> but does not override it
[INFO]          [ERROR] Line 108: ConstraintViolation cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/Configuration.java'
[INFO]          [ERROR] Line 93: TraversableResolver cannot be resolved to a type
[INFO]          [ERROR] Line 105: ConstraintValidatorFactory cannot be resolved to a type
[INFO]          [ERROR] Line 182: TraversableResolver cannot be resolved to a type
[INFO]          [ERROR] Line 182: No source code is available for type TraversableResolver; did you forget to inherit a required module?
[INFO]          [ERROR] Line 194: ConstraintValidatorFactory cannot be resolved to a type
[INFO]          [ERROR] Line 194: No source code is available for type ConstraintValidatorFactory; did you forget to inherit a required module?
[INFO]          [ERROR] Line 202: ValidatorFactory cannot be resolved to a type
[INFO]          [ERROR] Line 202: No source code is available for type ValidatorFactory; did you forget to inherit a required module?
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/ConstraintViolationException_CustomFieldSerializer.java'
[INFO]          [ERROR] Line 30: ConstraintViolationException cannot be resolved to a type
[INFO]          [ERROR] Line 34: ConstraintViolationException cannot be resolved to a type
[INFO]          [ERROR] Line 34: No source code is available for type ConstraintViolationException; did you forget to inherit a required module?
[INFO]          [ERROR] Line 39: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 39: ConstraintViolation cannot be resolved to a type
[INFO]          [ERROR] Line 40: ConstraintViolationException cannot be resolved to a type
[INFO]          [ERROR] Line 44: ConstraintViolationException cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/MessageInterpolator.java'
[INFO]          [ERROR] Line 21: The import javax.validation.metadata cannot be resolved
[INFO]          [ERROR] Line 66: ConstraintDescriptor cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/constraints/Pattern.java'
[INFO]          [ERROR] Line 30: The import javax.validation.Constraint cannot be resolved
[INFO]          [ERROR] Line 31: The import javax.validation.Payload cannot be resolved
[INFO]          [ERROR] Line 49: Constraint cannot be resolved to a type
[INFO]          [ERROR] Line 49: The attribute validatedBy is undefined for the annotation type Constraint
[INFO]          [ERROR] Line 75: Payload cannot be resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/sakai/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/spi/ConfigurationState.java'
[INFO]          [ERROR] Line 22: The import javax.validation.ConstraintValidatorFactory cannot be resolved
[INFO]          [ERROR] Line 24: The import javax.validation.TraversableResolver cannot be resolved
[INFO]          [ERROR] Line 93: ConstraintValidatorFactory cannot be resolved to a type
[INFO]          [ERROR] Line 107: TraversableResolver cannot be resolved to a type
[INFO]       [WARN] Warnings in 'jar:file:/home/sakai/.m2/repository/org/gwt/mosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/ui/clie

When I try to start tomcat I get the following errors:

2011-09-20 08:28:48,433 ERROR main org.sakaiproject.util.NoisierDefaultListableBeanFactory - Failed to preinstantiate the singleton named org.sakaiquebec.opensyllabus.common.api.OsylPublishService. Destroying all Spring beans.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiquebec.opensyllabus.common.api.OsylPublishService' defined in file [/opt/apache-tomcat-5.5.31/components/osyl-common-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiquebec.opensyllabus.common.api.OsylSiteService' while setting bean property 'osylSiteService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiquebec.opensyllabus.common.api.OsylSiteService' defined in file [/opt/apache-tomcat-5.5.31/components/osyl-common-pack/WEB-INF/components.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/sakaiproject/citation/api/CitationService
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at org.sakaiproject.util.NoisierDefaultListableBeanFactory.getBean(NoisierDefaultListableBeanFactory.java:114)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBeanFactory.java:73)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
        at org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:154)
        at org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:98)
        at org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:107)
        at org.sakaiproject.component.cover.ServerConfigurationService.getInstance(ServerConfigurationService.java:52)
        at org.sakaiproject.util.RequestFilter.init(RequestFilter.java:777)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3666)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:448)


Where using sakai 2.7.X.
Can anyone figure out whats wrong please?


Best regards
Anders Nordkvist
System administrator
University College of Skövde
Sweden

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110920/09c10f46/attachment-0001.html 


More information about the production mailing list