Annotation API for Java on Maven repository

Hi,


can you deploy v1.8.0 into Maven repository? I can see the latest one is 1.7.1.
http://mvnrepository.com/artifact/com.groupdocs/groupdocs-annotation

Thanks,
Mariusz

Hello Mariusz,

Thank you for your request. GroupDocs.Annotation v.1.8.0 will be released into Maven repository today. We will notify you, when it will be released.

Please feel free to contact us if you will have more questions.

Best regards
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hello Mariusz,

GroupDocs.Annotation v.1.8.0 was released into the Maven repository. Please try to download it here.

Please feel free to contact us if you will have more questions.


Best regards

Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

OK, thank you. Now my app doesn’t compile because you removed ServiceConfigurationBase class. What should I use instead?


Thanks,
Mariusz

The same concerns GroupDocsAnnotation.

Hello Mariusz,

Now structure of the GroupDocs.Annotation for Java library is better structured. For the configuration there are three interfaces:
  • IServiceConfiguration
  • IBackEndConfiguration
  • IFrontEndConfiguration
In place of the GroupDocsAnnotation now there is the com.groupdocs.annotation.handler.IGroupDocsAnnotation.

It looks like nothing works as it used to. Do you have a new spring sample that I could use?

Hello Mariusz,

Sure, all our samples are updated to use the 1.8.0 version of the GroupDocs.Annotation for Java library. You can get the Spring sample here https://github.com/groupdocs/ or download it from the archive page (http://groupdocs.com/Community/files/9/java-libraries/groupdocs_annotation_for_java/entry957.aspx).

The spring sample doesn’t work. When deployed in Tomcat it throws the following exception:


java.lang.ClassNotFoundException: com.groupdocs.viewer.handlers.etc.IViewerHandlerBase
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getDeclaredMethods(Class.java:1855)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:194)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:176)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:122)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:283)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:870)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.atmosphere.util.AtmosphereFilterChain.init(AtmosphereFilterChain.java:89)
at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.init(ReflectorServletProcessor.java:297)
at org.atmosphere.handler.ReflectorServletProcessor.init(ReflectorServletProcessor.java:176)
at org.atmosphere.cpr.AtmosphereFramework.initServletProcessor(AtmosphereFramework.java:611)
at org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:523)
at org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:547)
at org.atmosphere.cpr.MeteorServlet.loadDelegateViaConfig(MeteorServlet.java:123)
at org.atmosphere.cpr.MeteorServlet.init(MeteorServlet.java:90)

Hello Mariusz,

We are sorry to see you get this error. Strange, we checked the fat version of the library and all samples – everything works well. Now we are checking some additional cases. We will inform you about the situation later. In the meanwhile, can you describe you actual steps to reproduce this error (where library was downloaded and installed, also what sample you are using and if there were some changes to the pom file).

I just downloaded the sample and run mvn clean package. Maybe the viewer deployed to Maven is incorrectly obfuscated?

Hello Mariusz,


We are sorry to hear that you have such issue. We just checked library and samples, they all works well. But we were able to find an issue with maven release process which somehow removed viewer dependencies from current release. We are working on this issue and it will be resolved soon, meanwhile you can download annotation 1.8.0 library from this url .

Please make sure that you are running spring slim sample with slim annotation library, otherwise you should install full (fat jar) library from our download section.

Well, Maven automatically the dependencies from the repository. Does it mean there is a wrong version uploaded? Can you upload the correct one?

Hello,


Thank you for coming back. Version of the library that we shared with you above include Viewer dependencies. On the Maven this library will be available soon but please note that the version of the fixed library will be 1.8.1