Quantcast
Channel: Errors – JavaShine
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

java.io.IOException: Filesystem closed

Hi hadoopers, Here is the exception that screwed up me on Saturday night and failed my Mapper task. Mapper is reading the lines one by one and tokenize it. The last token contains a path of a file in...

View Article



Image may be NSFW.
Clik here to view.

Oozie job failure – Error: E0501 : E0501: Could not perform authorization...

Hi hadoopers, I’m sorry for resuming the tutorials. I need to complete a project first. Tutorial posts would be resumed after this. Today, I tried to form a workflow with Oozie. Here is the way I...

View Article

Image may be NSFW.
Clik here to view.

MySQL error 1449: The user specified as a definer does not exist

I faced this error when exporting the database from one server to other server, as the user doesn’t exist. So I changed the incorrect username into right one as given below. W.R.T...

View Article

javax.validation.ValidationException: HV000183: Unable to load...

I got this exception when I executed my newly written junit test for a Spring DAO with Hibernate Validations. After adding javax.el to pom, this is resolved. <dependency>...

View Article

[solved] DAO unit test breaks with org.hibernate.HibernateException: No...

I’m writing a unit test for my spring DAO, which includes both write and read test cases. Here is the exception that broke the test execution. org.hibernate.HibernateException: No Session found for...

View Article


No Spring WebApplicationInitializer types detected on classpath

Wah, what a stupid error it was! My Spring web app, which was running smoothly, refused to start. I don’t find any logs in log4j or tomcat log. Only clue I had was – No Spring WebApplicationInitializer...

View Article

Migrating to Hibernate 5: Table ‘crm.hibernate_sequence’ doesn’t exist

I’m doing upgrading Spring 4 to Spring 5 and Hibernate 4 to 5. My existing functionality refused to work. It broke with the following exception....

View Article

Image may be NSFW.
Clik here to view.

detached entity passed to persist

I am in mid of a crud operation. This exception hit me today, when I updated an entity with @ManyToOne(cascade = CascadeType.ALL) relationship. org.hibernate.PersistentObjectException: detached entity...

View Article


invalid flag: –release -> [Help 1]

I need to build a project with jdk 8. When I run Maven, Build failed with the below given error. invalid flag: –release -> [Help 1] After removing the below version specification in pom.xml,...

View Article


Nexted exception is java.awt.HeadlessException

This is what I get when I start my SpringBoot application, built using Java Swing. Exception encountered during context initialization. Constructor threw Exception java.awt.HeadlessException Adding...

View Article

ERROR 1698 (28000): Access denied for user ‘root’@’localhost’

This is the error I got while logging in as root user to MySQL database for the very first time. ERROR 1698 (28000): Access denied for user ‘root’@’localhost’ I didn’t do anything wrong while logging...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images