On 4/24/10 20:12, Richard S. Hall wrote:
For the fun of it, try adding javax.accessibility to your component
bundle's (the provide, not the consumer I assume)
That should say, "...the provider, not the consumer..."
-> richard
Import-Package manifest header and see if the issue goes away.
-> richard
On 4/24/10 19:29, Cobb, Christopher (Contr) (IS) wrote:
Hello,
I have entered the "iPOJO in 10 minutes" example and modified it
slightly to work with Maven.
When I compile and run with Java 5, it works exactly as described.
When I compile and run with Java 6, I can start the first three modules
in felix (services, dictionary and spell checker) with no errors. But
when I start the gui module, I get this:
-> start
file:C:\ipojo\example2-spell\spell4-gui\target\spell4-gui-1.0.0.jar
-> [ERROR] ipojo.example2.spell.gui.SpellCheckerGui : Service
Providing:
The service specification javax.accessibility.Accessible cannot be load
[ERROR] iPOJO Instance Creator : A matching factory was found for
{component=ipojo.example2.spell.gui.SpellCheckerGui,
instance.name=ipojo.example2.spell.gui.SpellCheckerGui-0}, but the
instantiation failed : The configuration is not correct for the type
ipojo.example2.spell.gui.SpellCheckerGui : Service Providing: The
service specification javax.accessibility.Accessible cannot be load
Since there are no direct references to javax.accessibility.Accessible
anywhere in the example code, I this may be a Java 6 peculiarity having
something to do with Swing. Does Java 6 package
javax.accessibility.Accessible differently than Java 5?
Since you list Java 6 among you supported JVMs, I thought you would want
to know about this quirk.
BTW, iPOJO is awesome!
cc
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]