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 ArticleOozie 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 ArticleMySQL 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 Articlejavax.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 ArticleNo 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 ArticleMigrating 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 Articledetached 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 Articleinvalid 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 ArticleNexted 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 ArticleERROR 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
More Pages to Explore .....