errai GWT data binding getting failed - gwt

I am trying to run errai databinding in my GWT application
simply followed this tutorial , but with no luck
https://docs.jboss.org/author/display/ERRAI/Data+Binding
I am kept on getting errors, resolved some by adding some jars etc.
Now , I am getting this error which I am not able to resolve
[ERROR] Error generating BindableProxyLoaderImpl
java.lang.AbstractMethodError: org.jboss.errai.codegen.meta.MetaField.getDeclaringClassName()Ljava/lang/String;
Here is the screenshot of m console and the Jars i am using
Please guide
http://screencast.com/t/TdECCZNTxc

Related

Getting /draftv4/schema not found while using com.github.fge.json-schema-validator-2.2.3.jar

I am tying to use com.github.fge.json-schema-validator-2.2.3.jar for json schme validation in maven project.
All bundles came up. But during runtime getting /draftv4/schema not found error while loadconfiguration.
Please let me know how to resolve this.

How to solve "java.lang.NoClassDefFoundError: org/json/JSONException"

I am using marionette driver for testing with selenium. when I run the code it gives me the error:
java.lang.NoClassDefFoundError: org/json/JSONException.
Also gives error :
Found argument '--webdriver-port' which wasn't expected, or isn't valid in this context
Please help for the same
I have used "java-json.jar" however now it's give the error "org.openqa.selenium.WebDriverException: java.net.ConnectException: Connection refused:" so can you suggest what issue is for the same
Try adding java-json/.jar in your classpath.
Download the jar from Jar link

NoClassDefFoundError when using instrumentation on Bluemix

I am trying to add a javaagent to my bluemix app, this agent uses Instrumentation. The thing is that when I run the application I get the following error:
premain() - Instrumentation is already running
...
CWWKF0004E: An unknown exception occurred while installing or removing features. Exception: java.lang.NoClassDefFoundError: agent.ClassInstrumentorTransform
ERR at com.ibm.ws.kernel.feature.internal.subsystem.SubsystemFeatureDefinitionImpl.setHeader(SubsystemFeatureDefinitionImpl.java)
ERR at [internal classes]
I have tried creating another agent with the same Premain-Class and Agent-Class structure but with my own classes and it works, I have tried uploading my own copy of Instrumentation classes and point the javaagent to it using Class-Path but the error still appears.
Any sugestion what can be the problem?
I suspect maybe the Bluemix enviorment uses the Instrumentation, any ideas how this might be checked and how I can solve the inter dependency?
Based on the error message, it looks like you have a class in a feature bundle that is trying to access a class from the javaagent, but you have not added the javaagent package to org.osgi.framework.bootdelegation as described in the Specifying Liberty profile bootstrap properties" topic in the knowledge center topic.

GWT compile error with jdk1.5.0_22, works fine with jdk1.5.0_13

I am working on a tomcat web app (tomcat 5.5.30) which consists of GWT widgets (GWT 1.7.0).
While running the ant build, the compilation fails with following error:
...
ERROR] Unexpected internal compiler error
[java] java.lang.StackOverflowError
[java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1891)
[java] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:479)
...
The JDK version I am using is jdk1.5.0_22. Interestingly, the build completes successfully with JDK version 1.5.0_13. I've also tried to build with jdk1.5.0_18, but it fails with same error message.
I searched the web, and found this discussion. I tried the solutions but none works for me.
I am unable to find out, what has changed after jdk1.5.0 update 13 that my build is failing.
Thanks in advance.

Unable to create editor ID org.eclipse.jst.pagedesigner.PageDesignerEditor: An unexpected exception was thrown

when i added JSF support to my project, following this tutorial
http://www.mkyong.com/jsf2/how-to-make-eclipse-ide-supports-jsf-2-0/
after restarting the eclipse, i am getting the error:
Unable to create editor ID org.eclipse.jst.pagedesigner.PageDesignerEditor: An unexpected exception was thrown.
any ideas why, and how to solve it ?
UPDATE:
when i tried to select java server faces again from the project facets, i found that it says on the right:
Conflicts with the following facets:
Application Client module
Dynamic Web Module
EAR
EJB Module
JCA Module
Static Web Module
Utility Module
Web Fragment Module
i was having JSF and ICEFaces dependencies in my pom, and i was having their libraries too in the classpath, fixed the error by removing them, and adding JSF,icefaces capabilities to my project, everything works fine now.