codelibs / gitbucket-fess-plugin

GitBucket plugin for Fess
21 stars 11 forks source link

Not compatible with gitbucket 4.36.2 #38

Open eitsupi opened 3 years ago

eitsupi commented 3 years ago

If you install it on the latest version of GitBucket, 4.36.2, the following screen will be displayed and it will not work properly.

image

At this time, the following error has occurred (it is the log of the container launched by docker-compose)

gitbucket_1  | 07:30:23.209 [qtp648129364-54] INFO  o.c.g.f.c.FessSearchController - org.json4s.package$.string2JsonInput(Ljava/lang/String;)Lorg/json4s/JsonInput;
gitbucket_1  | java.lang.NoSuchMethodError: org.json4s.package$.string2JsonInput(Ljava/lang/String;)Lorg/json4s/JsonInput;
gitbucket_1  |  at org.codelibs.gitbucket.fess.service.FessSearchService.execSearch(FessSearchService.scala:73)
gitbucket_1  |  at org.codelibs.gitbucket.fess.service.FessSearchService.execSearch$(FessSearchService.scala:61)
gitbucket_1  |  at org.codelibs.gitbucket.fess.controller.FessSearchController.execSearch(FessSearchController.scala:10)
gitbucket_1  |  at org.codelibs.gitbucket.fess.service.FessSearchService.searchCodeOnFess(FessSearchService.scala:219)
gitbucket_1  |  at org.codelibs.gitbucket.fess.service.FessSearchService.searchCodeOnFess$(FessSearchService.scala:212)
gitbucket_1  |  at org.codelibs.gitbucket.fess.controller.FessSearchController.searchCodeOnFess(FessSearchController.scala:10)
gitbucket_1  |  at org.codelibs.gitbucket.fess.controller.FessSearchControllerBase.$anonfun$$init$$1(FessSearchController.scala:78)

No error when installing on 4.36.1

image

Is this due to the version upgrade of json4s-jackson in the following commit? https://github.com/gitbucket/gitbucket/commit/838a8d4c7b2bbf8bb4e5a16b476640f6430cb2ec

Thanks.

freerider7777 commented 2 months ago

Does it work with fresh versions now?