Re: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
The POM looks ok. Did you try already to remove the chemistry-opencmis-client-bindings from your local Maven repo? Sounds like it might be corrupt since the dependency is there and should be resolved. On Fri, Nov 16, 2012 at 8:57 AM, Sebastian Danninger < [email protected]> wrote: > > > > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd > "> > > 4.0.0 > > > org.apache.chemistry.opencmis > chemistry-opencmis > 0.8.0 > ../../pom.xml > > > chemistry-opencmis-client-impl > OpenCMIS Client Implementation > jar > > > ../../ > > > > > > maven-jar-plugin > > > > ${project.build.outputDirectory}/META-INF/MANIFEST.MF > > > > > org.apache.felix > maven-bundle-plugin > 2.3.4 > true > > > bundle-manifest > process-classes > > manifest > > > > > > > > org.apache.commons.codec.*;version="[1.4,2.0)", > org.apache.commons.logging.*;version="[1.1,2.0)", > * > > ${project.url} > > org.apache.chemistry.opencmis.client.osgi.Activator > > > > > maven-assembly-plugin > 2.3 > > >pack-client-with-deps > >single > >package > >true > > > > src/main/assembly/client-with-dependencies-assembly.xml > > > > > > > > > > > > ${project.groupId} > chemistry-opencmis-client-api > ${project.version} > > > ${project.groupId} > chemistry-opencmis-commons-api > ${project.version} > > > ${project.groupId} > chemistry-opencmis-commons-impl > ${project.version} > > > ${project.groupId} > chemistry-opencmis-client-bindings > ${project.version} > > > org.apache.felix > org.osgi.core > 1.0.0 > > > log4j > log4j > 1.2.16 > test > > > org.slf4j > slf4j-log4j12 > 1.6.6 > test > > > > > > > > > > org.apache.chemistry.opencmis.client.runtime.test.config.path > > > > > > > org.apache.maven.plugins > maven-surefire-plugin > > > -Dorg.apache.chemistry.opencmis.client.runtime.test.config.path=${org.apache.chemistry.opencmis.client.runtime.test.config.path} > > > > > > > > > > apache-release > > false > > > > > maven-assembly-plugin > false > > > pack-client-with-deps > > single > > package > > true > > > > src/main/assembly/client-with-dependencies-assembly.xml > > > > > > > > > > > >
Re: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
org.apache.chemistry.opencmis
chemistry-opencmis
0.8.0
../../pom.xml
chemistry-opencmis-client-impl
OpenCMIS Client Implementation
jar
../../
maven-jar-plugin
${project.build.outputDirectory}/META-INF/MANIFEST.MF
org.apache.felix
maven-bundle-plugin
2.3.4
true
bundle-manifest
process-classes
manifest
org.apache.commons.codec.*;version="[1.4,2.0)",
org.apache.commons.logging.*;version="[1.1,2.0)",
*
${project.url}
org.apache.chemistry.opencmis.client.osgi.Activator
maven-assembly-plugin
2.3
pack-client-with-deps
single
package
true
src/main/assembly/client-with-dependencies-assembly.xml
${project.groupId}
chemistry-opencmis-client-api
${project.version}
${project.groupId}
chemistry-opencmis-commons-api
${project.version}
${project.groupId}
chemistry-opencmis-commons-impl
${project.version}
${project.groupId}
chemistry-opencmis-client-bindings
${project.version}
org.apache.felix
org.osgi.core
1.0.0
log4j
log4j
1.2.16
test
org.slf4j
slf4j-log4j12
1.6.6
test
org.apache.chemistry.opencmis.client.runtime.test.config.path
org.apache.maven.plugins
maven-surefire-plugin
-Dorg.apache.chemistry.opencmis.client.runtime.test.config.path=${org.apache.chemistry.opencmis.client.runtime.test.config.path}
apache-release
false
maven-assembly-plugin
false
pack-client-with-deps
single
package
true
src/main/assembly/client-with-dependencies-assembly.xml
thats the pom, attached the output
2012/11/16 Gabriele Columbro (JIRA)
>
> [
> https://issues.apache.org/jira/browse/CMIS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498912#comment-13498912]
>
> Gabriele Columbro commented on CMIS-597:
>
>
> Can you post the pom.xml of chemistry-opencmis-client-impl that you have
> in your local repo? Also can you post the output of
>
> mvn dependency:tree
>
> on your project?
>
> Artifacts are all there, so I imagine it might be a POM / transitive
> dependency issue.
>
>
> > NoClassDefFoundError after upgrading to OpenCMIS
Re: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
I also get this error, changed from 0.6 to 0.8
2012/11/2 Florian Müller (JIRA)
>
> [
> https://issues.apache.org/jira/browse/CMIS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489502#comment-13489502]
>
> Florian Müller commented on CMIS-597:
> -
>
> I cannot reproduce this exception.
> Nothing has changed here from 0.7.0 to 0.8.0.
>
> > NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
> > --
> >
> > Key: CMIS-597
> > URL: https://issues.apache.org/jira/browse/CMIS-597
> > Project: Chemistry
> > Issue Type: Bug
> > Components: opencmis-client
> >Affects Versions: OpenCMIS 0.8.0
> > Environment: Mac OS X Snow Leopard upgrading a portlet for GateIn
> >Reporter: Piergiorgio Lucidi
> >
> > I tried to upgrade the OpenCMIS Client library from 0.7.0 to 0.8.0, but
> it returns the following exception:
> > {code}
> > Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.chemistry.opencmis.client.bindings.cache.impl.CacheImpl
> > at
> org.apache.chemistry.opencmis.client.bindings.impl.RepositoryInfoCache.(RepositoryInfoCache.java:54)
> > at
> org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.clearAllCaches(CmisBindingImpl.java:215)
> > at
> org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.(CmisBindingImpl.java:129)
> > at
> org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisAtomPubBinding(CmisBindingFactory.java:132)
> > at
> org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtomPubBinding(CmisBindingHelper.java:97)
> > at
> org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(CmisBindingHelper.java:55)
> > at
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:107)
> > at
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
> > at
> org.alfresco.training.portals.cmis.portlets.CmisUtils.getCmisSession(CmisUtils.java:79)
> > ... 115 more
> > {code}
> > It seems that including only the usual opencmis-client-impl dependency
> in the pom.xml is not enough for getting all the needed resources.
> > {code}
> >
> >org.apache.chemistry.opencmis
> >chemistry-opencmis-client-impl
> >0.8.0
> >
> > {code}
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
