Somehow, my maven plugin stopped working in my eclipse (again!!!). I have already posted on maven plugin installation and everything earlier. However, this doesn't seem to work now. :-(. no idea though. So, I had to restart my "mission mvn". Finally after a lot of struggle on making the current mvn plugin to work, I looked for a new plugin and got this link
. I installed this plugin and I could see "mvn commands" populated in "Run as.. " section. My happiness couldn't last for long as I couldn't successfully build mahout codebase using this plugin.
mvn install is giving build error however mvn compile is successfully compiling. Should be able to resolve soon. Stay Tuned...
Finally, I figure out a way to avoid build errors in eclipse using maven. Following checks need to be made to see if everything is configured properly
Right click on Project -> select Properties -> Make sure under Java Build Path and libraries tab, whether Maven ClassPath container and maven dependancies are present
Right click on Project -> select Properties ->Make sure under builder, you have maven project builder and maven incremental builder and default Java builder are available
Right click on project - select properties - select maven at left hand side - check include modules.
Once all above are configured properly, right click on project and select build project. This should build without any issues.
Monday, January 25, 2010
My struggle with Maven plugin for eclipse and mahout building
Thursday, December 31, 2009
Issues while starting mysql server
I have installed mysql server again in my local machine and I was trying to start the same using /etc/init.d/mysqld start and I was getting error saying "Timeout" and when I looked into /var/log/mysqld.log, it is giving error as the db is corrupted or not shutdown properly previously. And after doing some other fixes, I was getting "Can't open and lock privilege tables: Table 'mysql.host' doesn't exist" So to resolve this, I have removed the datadir altogether and have executed below commands:
/usr/bin/mysql_install_db --user=mysql --ldata=/new-data-location
and once that is succeeded, I tried to start with
mysqld_safe --datadir=/new-data-location --user=mysql &
and I got below error saying it couldn't create .pid file in /new-data-location/mysqld. So, I had to manually create mysqld directory in new-data-location and change ownership to mysql and re executed above command and everything went fine.
Now, I changed the root password using the secure installation script(mysql_secure_installation) available in bin folder and everything is fine now.
Thursday, July 17, 2008
Strange google search error
I got above error when I did simple Google search. I don't know why this happened? Does any one have any clue?
But I found it really weird and annoying.