Leda: SbtConfigurable has unsatisfied dependency

I'm updating idea-sbt-plugin to Leda.

After adapting to the a few new signatures, I'm stuck with the following error, which prevents the plugins project configuration panel from displaying.


[  33317]  ERROR - openapi.options.ConfigurableEP - net.orfjackal.sbt.plugin.settings.SbtConfigurable has unsatisfied dependency: class net.orfjackal.sbt.plugin.settings.SbtProjectSettingsComponent among unsatisfiable dependencies: [[class net.orfjackal.sbt.plugin.settings.SbtProjectSettingsComponent, class net.orfjackal.sbt.plugin.settings.SbtApplicationSettingsComponent]] where AreaPicoContainer[Project (Default) Default (Template) Project] was the leaf container being asked for dependencies.



What's changed?

-jason



Project:

https://github.com/retronym/idea-sbt-plugin/tree/1.4-leda

plugin.xml

https://github.com/retronym/idea-sbt-plugin/blob/1.4-leda/sbt-plugin/src/main/resources/META-INF/plugin.xml#L65

SbtProjectSettingsComponent:

https://github.com/retronym/idea-sbt-plugin/blob/1.4-leda/sbt-plugin/src/main/java/net/orfjackal/sbt/plugin/settings/SbtProjectSettingsComponent.java#L12

SbtConfigurable:

https://github.com/retronym/idea-sbt-plugin/blob/1.4-leda/sbt-plugin/src/main/java/net/orfjackal/sbt/plugin/settings/SbtConfigurable.java#L12

1
4 comments
Avatar
Permanently deleted user

Bump...

What additional information can I provide to help diagnose this?

0

By default, project components are no longer created for the default project. If you need them to be loaded, add the <loadForDefaultProject/> tag to the component registration in plugin.xml. Or even better, change the component to a project service.

0

You might need to add <loadForDefaultProject/> to your component
configuration(s) explicitely.
In IDEA 10, all components were loaded for default project by default.

0
Avatar
Permanently deleted user

Thanks, that was it.

0

Please sign in to leave a comment.