I updated to use the windup-legacy project and forge addon but I am still seeing the same error that it can not find org.springframework.context.ApplicationContext.

The difference this time is that /org.jboss.tools.windup.runtime/furnace-addon-repository/org-jboss-windup-legacy-app-windup-legacy-app-addon-1-0-0-SNAPSHOT/spring-context-3.1.0.RELEASE.jar exists. So I would think that since Forge is reporting that the  /org.jboss.tools.windup.runtime/furnace-addon-repository/org-jboss-windup-legacy-app-windup-legacy-app-addon-1-0-0-SNAPSHOT Forge addon is being succesfully loaded I should not see this issue any longer.

Lincoln, could you pull down the latest windup-eclupse-plugin forge branch code and the latest jbosstools-forge code (with my push that needs to be accepted) and see if you can figure out why Forge is not finding the class that is clearly in a jar in the loaded addon?

At this point I do not think this is an issue on the windup or windup-eclipse-plugin side but something on the Forge/Furnace side.

Blue Skies,
~Ian


From: "Ian Tewksbury" <itewksbu@redhat.com>
To: "Windup-dev List" <windup-dev@lists.jboss.org>
Sent: Tuesday, June 10, 2014 11:53:22 AM
Subject: Re: [windup-dev] org.springframework.context.ApplicationContext

I saw some notifications about the refactor just didn't realize that the legacy stuff got moved out.

Thanks for the info. Attempt 2 tonight to get everything working.

Blue Skies,
~Ian


From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>
To: "Windup-dev List" <windup-dev@lists.jboss.org>
Sent: Tuesday, June 10, 2014 11:49:58 AM
Subject: Re: [windup-dev] org.springframework.context.ApplicationContext

Yeah, looks like that's the one. Sorry about that. There should have been an email that went out about this refactor.


On Tue, Jun 10, 2014 at 8:39 AM, Ian Tewksbury <itewksbu@redhat.com> wrote:
is there any name overlapping between the windup-legacy and windup repos. As in, can both projects live in the same Eclipse workspace or do they require separate workspaces because there is name shadowing?

Is https://github.com/windup/windup-legacy/blob/master/application/addon/pom.xml now the artifact that i need to add as a furnace addon repo rather then org.jboss.windup.legacy.application:legacy-windup?

Blue Skies,
~Ian


From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>
To: "Windup-dev List" <windup-dev@lists.jboss.org>
Sent: Tuesday, June 10, 2014 1:17:29 AM
Subject: Re: [windup-dev] org.springframework.context.ApplicationContext


This is something that is probably no longer in the windup/windup/master branch, which could certainly lead to being missing. It has probabaly moved to the windup/windup-legacy repository (we split it out a week ago.)  


On Mon, Jun 9, 2014 at 11:08 PM, Ian Tewksbury <itewksbu@redhat.com> wrote:

Windup Team,


I am trying to get the Windup Eclipse plugin to work with Windup 2.0 using Forge. The latest issue I am running into is that Eclipse can not find org.springframework.context.ApplicationContext. For that matter I can not find it either. I searched my workspace that has windup, windup-eclipse-plugin, and jboss-forge, and none of the included plugins or library jars seem to have this class. By which magic does Windup normally load this class? I need to figure out how Windup loads the class so I can load it via the plugin as well.


java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.getConstructor(Class.java:1718)
at org.jboss.forge.furnace.proxy.Proxies.isInstantiable(Proxies.java:414)
at org.jboss.forge.furnace.proxy.ProxyTypeInspector.getCompatibleClassHierarchy(ProxyTypeInspector.java:40)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:240)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$300(ClassLoaderAdapterCallback.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:117)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:89)
at org.jboss.windup.WindupFactory_$$_javassist_c87c990c-13e3-487b-a158-b4143a8407b5.createWindupEngine(WindupFactory_$$_javassist_c87c990c-13e3-487b-a158-b4143a8407b5.java)
at org.jboss.tools.windup.core.WindupService.getWindupEngine(WindupService.java:391)
at org.jboss.tools.windup.core.WindupService.getWindupReportEngine(WindupService.java:412)
at org.jboss.tools.windup.core.WindupService.generateReport(WindupService.java:250)
at org.jboss.tools.windup.core.WindupService.generateReport(WindupService.java:186)
at org.jboss.tools.windup.ui.internal.commands.GenerateWindupReportHandler$1.run(GenerateWindupReportHandler.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext cannot be found by org.jboss.tools.windup.runtime_3.1.0.qualifier
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 18 more


Blue Skies,
~Ian

_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."

_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev


_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."

_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev


_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev