0
Answered

Possible maven dependency clash

Jacques de Wet 5 years ago updated by Nguyen 5 years ago 9
I get the following error when trying to run MyCollab community locally. I believe it is a dependency clash between javax-validation:validation-api:1.0.0.GA vs javax-validation:validation-api:1.1.0.Final

See stacktrace:

WARNING: Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validator' defined in com.esofthead.mycollab.spring.ValidatorConfiguration: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.esofthead.mycollab.jetty.GenericServerRunner.execute(GenericServerRunner.java:162)
at com.esofthead.mycollab.jetty.GenericServerRunner.run(GenericServerRunner.java:117)
at com.esofthead.mycollab.jetty.CommunityServerRunner.main(CommunityServerRunner.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider
at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:41)
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:269)
at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
... 40 more
Caused by: java.lang.ClassNotFoundException: javax.validation.ParameterNameProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Hi Jacques,
Is this issue existing yet? I run the maven dependency tree mvn dependency:tree and I do not find the validation-api:1.0.0 GA. Anyway, we deal with this issue in the past, and the same library with different names cause us headache :)

Here is my result:
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ mycollab-app-community ---
[INFO] com.esofthead.mycollab:mycollab-app-community:jar:5.0.10
[INFO] +- com.esofthead.mycollab:mycollab-server-runner:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-config:jar:5.0.10:compile
[INFO] | | +- org.jasypt:jasypt:jar:1.9.2:compile
[INFO] | | \- org.jasypt:jasypt-spring31:jar:1.9.2:compile
[INFO] | +- com.esofthead.mycollab:mycollab-core:jar:5.0.10:compile
[INFO] | | +- org.imgscalr:imgscalr-lib:jar:4.2:compile
[INFO] | | +- com.esofthead.mycollab.external:image4j-core:jar:0.7.1:compile
[INFO] | | +- ch.qos.cal10n:cal10n-api:jar:0.8.1:compile
[INFO] | | +- org.apache.velocity:velocity-tools:jar:2.0:compile
[INFO] | | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | +- commons-chain:commons-chain:jar:1.1:compile
[INFO] | | | +- dom4j:dom4j:jar:1.1:compile
[INFO] | | | +- oro:oro:jar:2.0.8:compile
[INFO] | | | \- sslext:sslext:jar:1.2-0:compile
[INFO] | | +- com.thoughtworks.xstream:xstream:jar:1.4.8:compile
[INFO] | | | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | | +- org.codehaus.jettison:jettison:jar:1.3.7:compile
[INFO] | | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | | +- javax.el:el-api:jar:2.2.1-b04:compile
[INFO] | | +- org.apache.tika:tika-core:jar:1.9:compile
[INFO] | | +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] | | +- org.jsoup:jsoup:jar:1.8.1:compile
[INFO] | | \- org.ocpsoft.prettytime:prettytime:jar:4.0.0.Final:compile
[INFO] | +- org.eclipse.jetty:jetty-server:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-servlet:jar:9.2.9.v20150224:compile
[INFO] | | \- org.eclipse.jetty:jetty-security:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-util:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-deploy:jar:9.2.9.v20150224:compile
[INFO] | | \- org.eclipse.jetty:jetty-xml:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-annotations:jar:9.2.9.v20150224:compile
[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.2:compile
[INFO] | | \- org.ow2.asm:asm-commons:jar:5.0.1:compile
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.1:compile
[INFO] | +- org.eclipse.jetty:jetty-plus:jar:9.2.9.v20150224:compile
[INFO] | | \- org.eclipse.jetty:jetty-jndi:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-continuation:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty.websocket:websocket-server:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty.websocket:websocket-common:jar:9.2.9.v20150224:compile
[INFO] | | \- org.eclipse.jetty.websocket:websocket-api:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty.websocket:websocket-client:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty.websocket:websocket-servlet:jar:9.2.9.v20150224:compile
[INFO] +- com.esofthead.mycollab:mycollab-servlet:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-services:jar:5.0.10:compile
[INFO] | | +- com.esofthead.mycollab:mycollab-jackrabbit:jar:5.0.10:compile
[INFO] | | | +- javax.jcr:jcr:jar:2.0:compile
[INFO] | | | +- org.apache.jackrabbit:jackrabbit-core:jar:2.10.1:compile
[INFO] | | | | +- concurrent:concurrent:jar:1.3.4:compile
[INFO] | | | | +- org.apache.jackrabbit:jackrabbit-api:jar:2.10.1:compile
[INFO] | | | | +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.10.1:compile
[INFO] | | | | \- org.apache.jackrabbit:jackrabbit-data:jar:2.10.1:compile
[INFO] | | | +- org.apache.jackrabbit:jackrabbit-spi:jar:2.10.1:compile
[INFO] | | | \- org.apache.jackrabbit:jackrabbit-spi-commons:jar:2.10.1:compile
[INFO] | | +- org.hibernate:hibernate-validator:jar:5.1.3.Final:compile
[INFO] | | | +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[INFO] | | | \- com.fasterxml:classmate:jar:1.0.0:compile
[INFO] | | +- org.reflections:reflections:jar:0.9.10:compile
[INFO] | | | \- com.google.code.findbugs:annotations:jar:2.0.1:compile
[INFO] | | +- org.reflections:reflections-spring:jar:0.9.9-RC1:compile
[INFO] | | +- org.jboss.resteasy:jaxrs-api:jar:3.0.9.Final:compile
[INFO] | | \- org.jboss.resteasy:resteasy-jaxrs:jar:3.0.9.Final:compile
[INFO] | +- com.esofthead.mycollab:mycollab-localization:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-caching:jar:5.0.10:compile
[INFO] | | \- org.infinispan:infinispan-core:jar:7.2.3.Final:compile
[INFO] | | +- org.infinispan:infinispan-commons:jar:7.2.3.Final:compile
[INFO] | | +- org.jgroups:jgroups:jar:3.6.2.Final:compile
[INFO] | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final:compile
[INFO] | | \- org.jboss.marshalling:jboss-marshalling-osgi:jar:1.4.10.Final:compile
[INFO] | +- com.esofthead.mycollab:mycollab-dao:jar:5.0.10:compile
[INFO] | | +- mysql:mysql-connector-java:jar:5.1.36:compile
[INFO] | | \- javax.transaction:jta:jar:1.1:compile
[INFO] | \- org.springframework:spring-webmvc:jar:4.1.7.RELEASE:compile
[INFO] +- com.esofthead.mycollab:mycollab-services-community:jar:5.0.10:compile
[INFO] | \- com.esofthead.mycollab:mycollab-migration:jar:5.0.10:compile
[INFO] | +- org.flywaydb:flyway-core:jar:3.2.1:compile
[INFO] | \- org.jcodec:jcodec:jar:0.1.9:compile
[INFO] +- com.esofthead.mycollab:mycollab-mobile:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-ui:jar:5.0.10:compile
[INFO] | | +- com.esofthead.mycollab:mycollab-reporting:jar:5.0.10:compile
[INFO] | | | +- net.sourceforge.dynamicreports:dynamicreports-adhoc:jar:4.0.0:compile
[INFO] | | | +- net.sourceforge.dynamicreports:dynamicreports-googlecharts:jar:4.0.0:compile
[INFO] | | | \- net.sourceforge.dynamicreports:dynamicreports-core:jar:4.0.0:compile
[INFO] | | | +- net.sf.jasperreports:jasperreports:jar:6.0.0:compile
[INFO] | | | | +- com.itextpdf:itextpdf:jar:5.5.0:compile
[INFO] | | | | +- com.itextpdf:itext-pdfa:jar:5.5.0:compile
[INFO] | | | | +- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile
[INFO] | | | | \- org.codehaus.castor:castor:jar:1.2:compile
[INFO] | | | \- net.sf.barcode4j:barcode4j:jar:2.0:compile
[INFO] | | | \- avalon-framework:avalon-framework-impl:jar:4.2.0:compile
[INFO] | | +- com.vaadin.addon:vaadin-touchkit-agpl:jar:4.0.2:compile
[INFO] | | +- com.vaadin:vaadin-push:jar:7.5.0:compile
[INFO] | | | \- com.vaadin.external.atmosphere:atmosphere-runtime:jar:2.2.7.vaadin1:compile
[INFO] | | | \- com.vaadin.external.slf4j:vaadin-slf4j-jdk14:jar:1.6.1:compile
[INFO] | | +- org.peimari:maddon:jar:1.21:compile
[INFO] | | +- org.vaadin.addon:easyuploads:jar:7.4.0:compile
[INFO] | | +- org.vaadin.addons:googleanalyticstracker:jar:2.1.0:compile
[INFO] | | \- com.vaadin:vaadin-server:jar:7.5.0:compile
[INFO] | | \- com.vaadin:vaadin-shared:jar:7.5.0:compile
[INFO] | | \- com.vaadin.external.streamhtmlparser:streamhtmlparser-jsilver:jar:0.0.10.vaadin1:compile
[INFO] | +- com.esofthead.vaadin:mobilecomponent:jar:1.0.0-SNAPSHOT:compile
[INFO] | \- com.esofthead.vaadin:navigationbar-quickmenu:jar:1.0.0-SNAPSHOT:compile
[INFO] +- com.esofthead.mycollab:mycollab-web-community:jar:5.0.10:compile
[INFO] | \- com.esofthead.mycollab:mycollab-web:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-esb:jar:5.0.10:compile
[INFO] | +- com.esofthead.mycollab:mycollab-scheduler:jar:5.0.10:compile
[INFO] | | \- org.quartz-scheduler:quartz:jar:2.2.1:compile
[INFO] | +- com.vaadin:vaadin-themes:jar:7.5.0:compile
[INFO] | +- org.vaadin.addons:buttongroup:jar:2.3:compile
[INFO] | +- org.vaadin.addons:popupbutton:jar:2.6.0:compile
[INFO] | +- org.vaadin.addons:ratingstars:jar:2.1:compile
[INFO] | +- org.vaadin.addons:dragdroplayouts:jar:1.1.3:compile
[INFO] | +- org.vaadin.addons:stylecalendar:jar:2.1.0:compile
[INFO] | +- org.vaadin.addons:contextmenu:jar:4.5.0:compile
[INFO] | +- com.lexaden.components:breadcrumb:jar:1.7.3:compile
[INFO] | +- org.vaadin:suggestfield:jar:0.0.4:compile
[INFO] | +- org.vaadin.addons:listbuilder:jar:0.7.3.v7:compile
[INFO] | +- com.esofthead.vaadin:popupbutton:jar:1.0.0-SNAPSHOT:compile
[INFO] | +- org.tltv.gantt:gantt-addon:jar:0.9.0:compile
[INFO] | +- org.vaadin.addon:confirmdialog:jar:2.1.3:compile
[INFO] | +- com.esofthead.vaadin:cropField:jar:1.0-SNAPSHOT:compile
[INFO] | +- com.esofthead.vaadin:calendarext:jar:1.0.0-SNAPSHOT:compile
[INFO] | +- org.jfree:jfreechart:jar:1.0.19:compile
[INFO] | | \- org.jfree:jcommon:jar:1.0.23:compile
[INFO] | +- org.apache.xmlgraphics:batik-svggen:jar:1.8:compile
[INFO] | | +- org.apache.xmlgraphics:batik-awt-util:jar:1.8:compile
[INFO] | | +- org.apache.xmlgraphics:batik-util:jar:1.8:compile
[INFO] | | \- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | +- org.scribe:scribe:jar:1.3.7:compile
[INFO] | +- uk.com.robust-it:cloning:jar:1.9.2:compile
[INFO] | | \- org.objenesis:objenesis:jar:2.1:compile
[INFO] | +- commons-validator:commons-validator:jar:1.4.1:compile
[INFO] | +- org.apache.poi:poi:jar:3.12:compile
[INFO] | +- fr.xebia.web:xebia-servlet-extras:jar:1.0.8:runtime
[INFO] | +- com.googlecode.ez-vcard:ez-vcard:jar:0.9.6:compile
[INFO] | +- net.sf.opencsv:opencsv:jar:2.3:compile
[INFO] | +- org.xhtmlrenderer:flying-saucer-pdf:jar:9.0.7:compile
[INFO] | | +- com.lowagie:itext:jar:2.1.7:compile
[INFO] | | \- org.xhtmlrenderer:flying-saucer-core:jar:9.0.7:compile
[INFO] | +- com.esofthead.vaadin:floatingcomponent:jar:0.0.1-SNAPSHOT:compile
[INFO] | +- org.vaadin.addons:ckeditor-wrapper-for-vaadin:jar:7.10.0:compile
[INFO] | +- org.vaadin.addons:vaadin-sliderpanel:jar:1.1.0:compile
[INFO] | +- org.vaadin.jonatan:contexthelp:jar:2.0.0:compile
[INFO] | +- com.vaadin:vaadin-sass-compiler:jar:0.9.12:compile
[INFO] | | +- org.w3c.css:sac:jar:1.3:compile
[INFO] | | \- com.vaadin.external.flute:flute:jar:1.3.0.gg2:compile
[INFO] | \- org.jboss.resteasy:resteasy-client:jar:3.0.9.Final:compile
[INFO] +- org.eclipse.jetty:jetty-servlets:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-http:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty:jetty-io:jar:9.2.9.v20150224:compile
[INFO] +- org.codehaus.izpack:izpack-standalone-compiler:jar:4.3.5:provided
[INFO] +- com.google.guava:guava:jar:18.0:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.1.3:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.3:compile
[INFO] +- commons-beanutils:commons-beanutils:jar:1.9.2:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] +- commons-codec:commons-codec:jar:1.10:compile
[INFO] +- org.apache.commons:commons-email:jar:1.4:compile
[INFO] | +- com.sun.mail:javax.mail:jar:1.5.2:compile
[INFO] | \- javax.activation:activation:jar:1.1.1:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.1:compile
[INFO] +- joda-time:joda-time:jar:2.8.1:compile
[INFO] +- org.springframework:spring-aop:jar:4.1.7.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | \- org.springframework:spring-beans:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-core:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:4.1.7.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:4.1.7.RELEASE:compile
[INFO] +- commons-configuration:commons-configuration:jar:1.10:compile
[INFO] | \- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- org.springframework:spring-web:jar:4.1.7.RELEASE:compile
[INFO] +- org.springframework:spring-aspects:jar:4.1.7.RELEASE:compile
[INFO] +- javax.persistence:persistence-api:jar:1.0.2:provided
[INFO] +- org.aspectj:aspectjweaver:jar:1.8.6:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.8.6:compile
[INFO] +- cglib:cglib:jar:3.1:compile
[INFO] +- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.5.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.5.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.5.3:compile
[INFO] +- org.mybatis:mybatis:jar:3.2.8:compile
[INFO] +- org.mybatis:mybatis-spring:jar:1.2.3:compile
[INFO] +- org.mybatis.scripting:mybatis-velocity:jar:1.1:compile
[INFO] | \- org.apache.velocity:velocity:jar:1.7:compile
[INFO] +- com.zaxxer:HikariCP-java6:jar:2.3.8:compile
[INFO] | \- org.javassist:javassist:jar:3.18.2-GA:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] \- org.scala-lang:scala-library:jar:2.11.6:compile


Hi Hainguyen,

Thank you for your response. My guess is that it is a dependency issue but not 100% sure. In IntelliJ I do find 2 libraries, the 1.0.0.GA and the 1.1.0.Final. The javax/validation/ParameterNameProvider is not present in the 1.0.0.GA version but is in the 1.1.0.Final. That is why I think the system is loading the wrong library. I have not been able to determine which dependency has a dependency on 1.0.0.GA.


What steps do I need to take to create a mvn build for the product?

Thank you in advance,

I look forward to hearing from you.

Jacques
Could you please to try select the MyCollab profile is production only and tell me if the problem still be persited? It will help IntelliJ filter the libraries run in the production mode. We use MyCollab profiles to set up various environments of build process.



To create a MyCollab build (installer files for Windows, MacOS, Linux) you guys come to project mycollab-deployer-community and run mvn clean install -Dmaven.test.skip=true, if the process runs well it will create installer files in the target folder.

PS: the latest code in github has issue on UI library, the UI may layout not correct. We are fixing. For the stable enhance MyCollab for your purpose, you should wait for 1-2 days until our team do the regression tests and confirmed all functions are ok

Probably we will try to write more documents how to develop MyCollab in the coming weeks. Please stay tune.

Hai Nguyen
Will be answered
This is the issue of MyCollab. Actually, the exception made us mislead the root cause of this issue, and it happens only when you run MyCollab as a standalone program (not run in IntelliJ). The root cause is the bug of Jetty 9.2 when it scans the classpaths. We have trouble between Jetty 9.2 and Jetty 9.3 because:
* Jetty 9.2 supports Java 7 and it causes this issue
* Jetty 9.3 does not support Java 7 and it does not cause this issue

We must downgrade to Jetty 9.2 to support Java 7 for the community users, and we are working around on this issue. Thank you for reporting this issue.

PS: we want to utilize Jetty 9.3 to support HTTP/2 and this issue makes us a lot of headache to separate the build between the community and cloud service :). I will mark this request as resolved when we release the new version.

Hai Nguyen
The latest source on Github could be run in IDE or standalone program fine. Thank you for your report