I got this exception when upgrading from java 7 to java 8:
java.lang.IncompatibleClassChangeError: Expected static method sun.util.resources.LocaleData.getNumberFormatData(Ljava/util/Locale;)Ljava/util/ResourceBundle
I'm using jre1.8.0_31
to fix this:
update atdl4j.jar
you can download it from Here's [a link]: (https://github.com/atdl4j/atdl4j)
Related
I have error in line 36 when I test in postman localhost:8081/post/search?searchKey=1. How to fix it to execute hibernate full text search ?
My github code is Github code
Today when I used apktool to decompile some apks, I got the error below:
I: Using Apktool 2.4.1 on 025A.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\potter\AppData\Local\apktool\framework\1.apk
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Writer.java:157)
at org.xmlpull.renamed.MXSerializer.attribute(MXSerializer.java:631)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:84)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:142)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:154)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:162)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:204)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:134)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:122)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:76)
But at the same time, I can use aapt2 dump badging 025A.apk to get the package name.
According to this issue, downgrading to 2.4.0 can mitigate this issue, through the experiment.
I am trying spark-submit through Java code. I am referring the following example.
https://github.com/mahmoudparsian/data-algorithms-book/blob/master/misc/how-to-submit-spark-job-to-yarn-from-java-code.md
But I am getting
The constructor ClientArguments(String[], SparkConf) is undefined
My version of spark-yarn is spark-yarn_2.11-2.0.0.
I saw the topic :
spark-submit through java code
but it does not work for me.
Any help ?
The constructor arguments have changed between 1.x and 2.0. In 1.x it looked like:
ClientArguments(args: Array[String], sparkConf: SparkConf)
In 2.0 its:
ClientArguments(args: Array[String])
See: https://github.com/apache/spark/blob/branch-2.0/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala
I am tring to connect HBASE with jasperreports-server-cp-6.0.1. I have hadoop 2.5.2 and hbase-1.0.1 installed on my system.
I have installed HBasePlugin-0.5.1.nbm plugin in iReport 5.6.0.
I have followed all the steps given in: http://community.jaspersoft.com/wiki/hadoop-hbase
When I write the following Query:
{ "tableName" : "blogposts", "deserializerClass" : "com.jaspersoft.hbase.deserialize.impl.ShellDeserializer" }
In iReport, I am getting the following error:
Message:
net.sf.jasperreports.engine.JRException: No deserializer defined
Level:
SEVERE
Stack Trace:
No deserializer defined
com.jaspersoft.hadoop.hbase.query.HBaseQueryWrapper.<init>(HBaseQueryWrapper.java:152)
com.jaspersoft.hadoop.hbase.HBaseFieldsProvider.getFields(HBaseFieldsProvider.java:50)
com.jaspersoft.ireport.hbase.designer.HBaseFieldsProvider.getFields(HBaseFieldsProvider.java:57)
com.jaspersoft.ireport.hbase.connection.HBaseConnection.readFields(HBaseConnection.java:185)
com.jaspersoft.ireport.designer.wizards.ConnectionSelectionWizardPanel.validate(ConnectionSelectionWizardPanel.java:146)
org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1357)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Could you please help me with this error (I also tried with iReport 4.0.2, but I received the same error)?
Both iReport and the HBase connector are outdated.
Try using the Apache Phoenix JDBC driver which is compatible with the latest release (6.2) of the Jaspersoft products:
http://community.jaspersoft.com/wiki/how-use-apache-phoenix-jdbc-driver-run-reports-hbase
Thanks!
I get this exception when trying to get to first page of my website.
Oops: BeanDefinitionStoreException
An unexpected error occured caused by exception BeanDefinitionStoreException: I/O failure during classpath scanning; nested exception is java.io.FileNotFoundException: /Users/mmm/Documents/work/workspace/BCR/precompiled/java/app/config/AppConfig$WebserviceMode.class (No such file or directory)
play.exceptions.UnexpectedException: Unexpected Error
at play.Play.start(Play.java:545)
I'm using Spring 1.0.2 and Play 1.2.4
Can you please help me on this? I searched the internet but couldn't get a clear response!
I think that you are hitting this issue : https://github.com/pepite/Play--framework-Spring-module/pull/9
Try play compile before starting your app.
I fixed the problem by removing an extra attribute 'xsi' in my application-context.xml on