I develop some custom fields, and try ti cache data using Guava.
I tried to configure the cache with xml declaration but Spring does not find the right constructor with the given arguments. So I switched to a Java config class to define the cache, and tagged the class as @Configuration.
My plugin depends on org.springframework:spring-web, and org.springframework:spring-beans, which exposes the BeanFactoryAware class.
When running, the plugin is not loaded because of ClassNotFoundException for org.springframework.beans.factory.BeanFactoryAware.
I tried to add the org.springframework.beans.factory* package import in the com.atlassian.maven.plugins import-packages instruction, without sucess.
I don’t understand why the class is not found, as other classes from the same package are found.
Any idea / tip ?
Thx for paying attention, have a nice day.