I came across the latest feature of Axis2 allowing JSON. As I am looking at building out my site to inculde AJAX I was interested in trying this out. I was trying JSON with the latest Snapshot of Axis2. I was looking at trying out the Sample application YahooJSONSearch, however I ran into the following error when running it from the latest binary snapshot:
[java] Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError [java] at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86) [java] at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58) [java] at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690) [java] at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:109) [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61) [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180) [java] at sample.yahooservices.JSONSearch.JSONSearchModel.searchYahoo(Unknown Source) [java] at sample.yahooservices.JSONSearch.UserInterface.handleSearch(Unknown Source) [java] at sample.yahooservices.JSONSearch.UserInterface.access$000(Unknown Source) [java] at sample.yahooservices.JSONSearch.UserInterface$1.actionPerformed(Unknown Source) [java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) [java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) [java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) [java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) [java] at java.awt.Component.processMouseEvent(Component.java:5554) [java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) [java] at java.awt.Component.processEvent(Component.java:5319) [java] at java.awt.Container.processEvent(Container.java:2010) [java] at java.awt.Component.dispatchEventImpl(Component.java:4021) [java] at java.awt.Container.dispatchEventImpl(Container.java:2068) [java] at java.awt.Component.dispatchEvent(Component.java:3869) [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) [java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) [java] at java.awt.Container.dispatchEventImpl(Container.java:2054) [java] at java.awt.Window.dispatchEventImpl(Window.java:1774) [java] at java.awt.Component.dispatchEvent(Component.java:3869) [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) [java] Caused by: java.lang.IllegalStateException: No valid ObjectCreator found. [java] at org.apache.axiom.om.util.StAXUtils$Pool.<init>(StAXUtils.java:41) [java] at org.apache.axiom.om.util.StAXUtils.<clinit>(StAXUtils.java:62) [java] ... 34 more I decided to try and checkout the source from SVN to determine if that might help in fixing the error. When running Maven to compile the Axis2 code I recieved the following error: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /Users/ben/Development/Axis2/SVN_co/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java:[540,58] cannot find symbol symbol : method getLocationTemplate() location: class org.apache.woden.wsdl20.extensions.http.HTTPLocation /Users/ben/Development/Axis2/SVN_co/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java:[718,58] cannot find symbol symbol : method getLocationTemplate() location: class org.apache.woden.wsdl20.extensions.http.HTTPLocation [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) My question is two part, first if there is anything I may be doing wrong that would generate the errors. Second when is an expectated release with JSON going to be release as Stable. I appreciate any help you may provide. Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]