Atempting to build and run the development environment with maven gives a Guice error (OD-1054)
Released
Sierra Sinclair opened 1 year ago

When I attempt to run the command to run the development site from a terminal. I get a injector error.

mvn exec:java -Dexec.mainClass="io.onedev.commons.bootstrap.Bootstrap"

I am in the server-product directory and have ran mvn install on a fresh clone of the repository. The error I get is

[INFO]
[INFO] --- exec-maven-plugin:3.1.0:java (default-cli) @ server-product ---
18:28:52 INFO  i.onedev.commons.bootstrap.Bootstrap - Launching application from '/home/sierra/onedev-server/server-product/target/sandbox'...
18:28:52 INFO  io.onedev.commons.loader.AppLoader - Starting server...
18:28:53 ERROR i.onedev.commons.bootstrap.Bootstrap - Error booting application
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) [Guice/MissingImplementation]: No implementation for Set<Plugin> was bound.

Requested by:
1  : DefaultPluginManager.<init>(DefaultPluginManager.java:29)
      \_ for 1st parameter
     at AppLoaderModule.configure(AppLoaderModule.java:33)
      \_ installed by: Modules$OverrideModule -> AppLoaderModule

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

1 error

It looks like something to do with the plugin list not being correctly found for dependency injection.

OneDev changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
OneDev commented 1 year ago

State changed as code fixing the issue is committed

OneDev changed state to 'Released' 1 year ago
Previous Value Current Value
Closed
Released
OneDev commented 1 year ago

State changed as build #3232 is successful

issue 1 of 1
Type
Build Failure
Priority
Normal
Assignee
Failed Build
Not Found
Issue Votes (0)
Watchers (4)
Reference
OD-1054
Please wait...
Page is in error, reload to recover