Exception in thread "main" java.lang.NoSuchMethodError:
com.fasterxml.jackson.module.scala.deser.BigDecimalDeserializer$.handledType()Ljava/lang/Class;
I am creating a simple spark streaming application using twitter as source. But get stuck at this error. I am using spark 1.6.0 and scala 2.10.4.
This exception usually indicates that you have multiple versions of the library available at run-time, and the chosen one isn't the one you're relying on. Perhaps two libraries compiled into an uber jar.
To avoid this, you can take precedence for your versions of the JAR by specifying them explicitly via spark.executor.extraClassPath and spark.driver.extraClassPath. More can be read in Spark Configuration
I am using theIntern for unit testing my javascript framework. My test is running fine using node.
However, I am not able to generate code coverage report properly. I tried the options provided in the documentation. I was successful to print code coverage information on to the console while testing through selenium web driver. That gives only a summary.
How can I generate extensive code coverage report using reporters other than console?
I provided the "reporters" option but doesn't print the report. Any help would be appreciated.
The lcov reporter generates an lcov.info file that can then be passed to the lcov genhtml utility to output a complete set of HTML coverage reports (the simplest invocation is just genhtml lcov.info).
In Intern 1.2, however, there is a bug with the generated lcov.info files (fixed for Intern 1.3) that may cause genhtml to fail to find any coverage data inside a generated lcov.info file. The patch for this issue is very simple and you should be able to cleanly it to Intern 1.2 until the new version is released in the next couple of weeks.
When using the Grails Rendering plugin i am getting an error java.lang.NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox[C] . We are also using the Jasper Plugin which uses a new version of the iText library. I guess there is a mismatch between the 2 plugins..
Any idea how to fix this?
/Marco
Your probably right there with the assumption there are two versions of iText. I have had lots of fun with iText conflicts in the past. I don't use the Jasper Plugin so I can't give you the direct answer, but I can recommend a couple of things to try:
Use the command grails dependency report to see what exactly is going on, which version of iText is kept, and which is being kicked out.
In your build config you can manage the dependencies of a particular plugin. So might be able to get away with removing the Jasper Plugin dependency on itext. Here is an example from mine for the export plugin:
runtime(':export:1.1') {
excludes 'itext', 'itext-rtf'
}
HellFire Compiler Daemon (HFCD) is significantly quicker than the default compiler used by Flash Builder, however it only seems to support Flex SDK 4.1.x.
Is there any way to use HFCD with Flex SDK 4.5.x?
See http://hfcd.tenderapp.com/discussions/questions/11-flex-45
The Author of HFCD seems to have disappeared. We too are feeling the pain, supposedly there is a way to integrate fcshd.py to get out of processing building to help speed up FlashBuilder.
I am working on PhoneGap BlackberryWebWorks i have install BlackBerry WebWorks plug-in:2.5.1 and Blackberry WebWorks SDK:2.0.0. and PhoneGap 0.9.4.but while building the project in eclipse i am getting the following error
Errors occurred during the build.
Errors running builder 'Faceted Project Validation Builder' on project 'PhoneGapSample'.
Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants
I am not getting any idea how to proceed ahead to remove this error.If any one have any idea about this. it will help me to overcome from this error.
Thanks,
Sagar.
Per neo's comment, install Eclipse Java EE Developer Tools using the Eclipse -> Help -> Install new software -> Work with -> (your Eclipse version's download repository. e.g.:) Indigo.
In the filter field type, then checkbox, Eclipse Java EE Developer Tools.
Download, install, boom: no more errors. Well, not that error, anyway, YMMV.
Edit: Mayoayres added a comment below that may apply if you still get this error despite following these instructions. If you find it helpful, upvote his comment!
Right click on your project >>> Properties >>> Project Facets >>> uncheck Static web Module
Hope to help.
Regards,
In eclipse juno there is some cases the project facets doesn't display any contents...it will give a error named "invalid values for project facets"...So there is a need to do the following
project >>> Properties >>> Builders
and uncheck the faceted project validation builder....
The accepted answer didn't work for me, but I found a solution: you need to install into the Eclipse plugins/ directory the .jar for org.eclipse.jst.j2ee.ejb, because it seems like you need it, but Eclipse WST doesn't properly depend on it, so it is not always installed when it should be.
The issue is completely unrelated to PhoneGap or Blackberry development, by the way.
As a more generic answer, this is because you either imported a project which is dependent on uninstalled Eclipse plugins. I had this issue when migrating to Eclipse Juno. The easiest solution, just edit your .project file in a text editor and remove the conflicting elements. Usually, this is in the buildspec or nature section.
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Keep a backup of your project file if you're not sure. You may always delete and recreate your project later on. It's easier to remove those references than to find and install the exact missing plugin versions.
In my case I was using Thymeleaf Eclipse plugin for thymeleaf content assist in my project and got these message in Eclipse Juno,
Errors running builder 'Thymeleaf Validation Builder' on project 'site'
Solution:
Select project
Project -> Properties -> Builders
Uncheck the Thymeleaf Validation Builder
Uncheck the builder corresponding to your error message and hopefully your problem gets resolved.