org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'i18NBean' defined in class path resource [i18NContext.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.util.i18n.I18NBean]: Factory method 'getI18NBean' threw exception; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: C:\Program Files\Atlassian\Confluence\webapps\..\confluence\WEB-INF\lib\analytics-api-5.2.20.jar (Het systeem kan het opgegeven bestand niet vinden)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.confluence.util.i18n.I18NBean]: Factory method 'getI18NBean' threw exception; nested exception is java.lang.IllegalStateException: java.io.FileNotFoundException: C:\Program Files\Atlassian\Confluence\webapps\..\confluence\WEB-INF\lib\analytics-api-5.2.20.jar (Het systeem kan het opgegeven bestand niet vinden)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: C:\Program Files\Atlassian\Confluence\webapps\..\confluence\WEB-INF\lib\analytics-api-5.2.20.jar (Het systeem kan het opgegeven bestand niet vinden)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getArchiveEntry(AbstractSingleArchiveResourceSet.java:97)
caused by: java.io.FileNotFoundException: C:\Program Files\Atlassian\Confluence\webapps\..\confluence\WEB-INF\lib\analytics-api-5.2.20.jar (Het systeem kan het opgegeven bestand niet vinden)
at java.util.zip.ZipFile.open(Native Method)
Hi - The error message indicates the instance cannot find a file that is expected to be in the installation directory: analytics-api-5.2.20.jar.
That file is present in my test instance of Confluence 6.7. Please check to see if the file is present in your install directory (confluence\WEB-INF\lib\analytics-api-5.2.20.jar) and if it is there, make sure the permissions are set so the OS user running Confluence can "see" it.
Thanks for the help.
The file I have in the install directory is: analytics-api-5.4.3.jar.
I have set all the permissions correctly but this does not fix the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Itay,
I searched for the analytics-api-5.2.20.jar again in my 6.7 archive and sure enough found analytics-api-5.4.3.jar instead, as you reported. The question is, why is the startup looking for the wrong jar file?
To help me take a closer look, please let me know if you used the Windows installer or the .zip archive for the upgrade. If there is a doc you used for the upgrade, please link it so I can see which method you used.
In case I end up needing to reproduce the upgrade, please let me know what version you upgraded from.
Thanks,
Ann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ann,
I used the Windows installer.
I upgraded from version 6.5 to 6.7.
Let me know if you need any additional information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just upgraded a Confluence 6.5 instance to Confluence 6.7 using the Windows installer and it started up afterward without looking for that file. I verified that the file analytics-api-*.jar is for a plugin. (Analytics client plugin)
If you stopped the Confluence Windows service and ran the installer, choosing upgrade, it should have worked as it did on my system. One thing to try first is to clear the plugins cache, in case the old plugin is being called from the cache. Please try How to clear Confluence plugins cache and let me know if that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.