Fisheye throws "Unable to start the Spring context for plugin com.atlassian.confluence.plugins.ssl.sslplugin" error at startup
問題
As part of the Fisheye start, the following appears in the atlassian-fisheye-YYY-MM-DD.log:
WARN [Spring executor 4 ] org.springframework.beans.TypeConverterDelegate TypeConverterDelegate-findDefaultEditor - PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
ERROR [Spring executor 10 ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-onSpringContextFailed - Unable to start the Spring context for plugin com.atlassian.confluence.plugins.ssl.sslplugin
java.lang.NoClassDefFoundError: com/atlassian/bandana/BandanaContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2545)
at java.lang.Class.getConstructors(Class.java:1519)
at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520)
...
Caused by: java.lang.ClassNotFoundException: com.atlassian.bandana.BandanaContext
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
... 24 more
After the messages above, Fisheye confirms that the Plugin system has been started with the following:
INFO [main ] fisheye DelegatingFisheyePluginManager-onContextRefreshedEvent - Plugin system started.
Further down in the log files, the sslplugin is reported as Disabled:
--------------------------
Listing installed plugins:
--------------------------
Name | Version | Vendor | State
sslplugin| 1.0| Atlassian| Disabled
原因
The folder $FISHEYE_INST/var/plugins/user
contains a *sslplugin-1.0.jar
file (the exact name depends on the plugin version), which corresponds to the SSL for Confluence plugin.
This is not a valid plugin for Fisheye/Crucible.
ソリューション
ソリューションはアプリケーション全体の問題を修正するものであり、一般にハックに該当するようなものではありません。
- Stop Fisheye
- Remove the *
sslplugin-1.0.jar
file from the$FISHEYE_INST/var/plugins/user
folder - Remove the directory $FISHEYE_INST/var/osgi-cache/
- Start Fisheye
最終更新日 2018 年 7 月 31 日
Powered by Confluence and Scroll Viewport.