<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZX:rishistar programming blocks &#187; MyEclipse</title>
	<atom:link href="http://rishistar.com/zx/category/myeclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://rishistar.com/zx</link>
	<description>Java/Wordpress programming tips and tricks</description>
	<lastBuildDate>Thu, 28 Jul 2011 22:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>MyEclipse Hibernate/RESTful web services MethodNotFound Error</title>
		<link>http://rishistar.com/zx/2009/08/myeclipse-hibernaterestful-web-services-methodnotfound-error/</link>
		<comments>http://rishistar.com/zx/2009/08/myeclipse-hibernaterestful-web-services-methodnotfound-error/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 11:45:13 +0000</pubDate>
		<dc:creator>rishi</dc:creator>
				<category><![CDATA[MyEclipse]]></category>

		<guid isPermaLink="false">http://rishistar.com/zx/?p=69</guid>
		<description><![CDATA[So there I was happily setting up my code when I get an error. This was using Hibernate 3.2 and JAX-RS 1.0.2 web services for running some web services to add users to a database on MyEclipse 7.5. What was the issue? When I try accessing the project if the data is verified ok and [...]]]></description>
			<content:encoded><![CDATA[<p>So there I was happily setting up my code when I get an error. This was using Hibernate 3.2 and JAX-RS 1.0.2 web services for running some web services to add users to a database on  MyEclipse 7.5.</p>
<p>What was the issue? When I try accessing the project if the data is verified ok and is to be added to the database the following Exception cropped up:<br />
<em>java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter</em></p>
<p>A bit more investigation yields the problem to be asm.jar issues. v1.5.3 is bundled with the Hibernate 3.2 package and a newer sounding v3.1 with the JAX-RS libraries bundled with MyEclipse.</p>
<p>What could be done? Well the reason the asm.jar file is needed in Hibernate is because of another JAR file cglib. This is called a <em>dependancy</em> and we can stop the problem by replacing this with a non-dependant version and then taking away the old asm.jar file.</p>
<ol>
<li>Download the cglib nodep JAR file from <a href="http://cglib.sourceforge.net/" target="_blank">http://cglib.sourceforge.net/</a>. Place the JAR file in a repository somewhere.</li>
<li>Open MyEclipse -&gt; Preferences -&gt; Project Capabilities -&gt; Hibernate.</li>
<li>Select Hibernate 3.2 from the Tabs</li>
<li>Switch the view from the drop down menu to view the JAR files for the Core Library.</li>
<li>Click Add JAR/ZIP Button and select the downloaded cglib-nodep-x.x.jar downloaded in Step 1.</li>
<li>In the list locate asm.jar and remove.</li>
<li>In the list locate the cglib-x.x.jar file and remove.</li>
<li>At this point your list screen will probably look like the screen below. Click OK.</li>
<li>Stop the server and undeploy the applicaton</li>
<li>Restart the server and redeploy the application</li>
</ol>
<p><img class="alignnone size-full wp-image-70" title="myeclipse-hibernate library changes screen grab" src="http://rishistar.com/zx/wp-content/uploads/2009/08/myeclipse-hib-screen-grab.png" alt="myeclipse-hibernate library changes screen grab" width="778" height="614" /></p>
<p><iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=rishistar-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=1932394885" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://rishistar.com/zx/2009/08/myeclipse-hibernaterestful-web-services-methodnotfound-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding A MyEclipse Project To Subversion Repository</title>
		<link>http://rishistar.com/zx/2009/08/adding-a-myeclipse-project-to-subversion-repository/</link>
		<comments>http://rishistar.com/zx/2009/08/adding-a-myeclipse-project-to-subversion-repository/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 16:54:30 +0000</pubDate>
		<dc:creator>rishi</dc:creator>
				<category><![CDATA[MyEclipse]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://rishistar.com/zx/?p=67</guid>
		<description><![CDATA[MyEclipse can work with Subversion, through the Subversive plug-in. This can be added as described here. It wasn&#8217;t immediately obvious how to add a project to a Subversion Repository &#8211; in Netbeans you can right click on the project, but in MyEclipse you need to change Perspective to the &#8216;SVN Repository Exploring&#8217; Perspective.  Right click [...]]]></description>
			<content:encoded><![CDATA[<p>MyEclipse can work with Subversion, through the Subversive plug-in. This can be added <a href="http://www.myeclipseide.net/PNphpBB2-viewtopic-t-22631.html" target="_blank">as described here</a>.</p>
<p>It wasn&#8217;t immediately obvious how to add a project to a Subversion Repository &#8211; in Netbeans you can right click on the project, but in MyEclipse you need to change Perspective to the &#8216;SVN Repository Exploring&#8217; Perspective.  Right click in the SVN Repositories window and add a new one (this is one you will have already setup).</p>
<p>You can create folders within your repository (Right Click-&gt;New-&gt;Folder)  - I advise doing this for each project you are using. Then right click on the folder being used, choose Import and then choose the root directory of the project you wish to add to the repository. You may add the whole workspace to this.</p>
<p><a href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&#038;location=https%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26x%3D0%26ref%255F%3Dnb%255Fss%26y%3D0%26field-keywords%3Dsubversion%26url%3Dsearch-alias%253Daps&#038;tag=rishistar-21&#038;linkCode=ur2&#038;camp=1634&#038;creative=19450">Books On Subversion</a><img src="https://www.assoc-amazon.co.uk/e/ir?t=rishistar-21&#038;l=ur2&#038;o=2" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://rishistar.com/zx/2009/08/adding-a-myeclipse-project-to-subversion-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql connector jar not found: the fix</title>
		<link>http://rishistar.com/zx/2009/08/mysql-connector-jar-not-found-the-fix/</link>
		<comments>http://rishistar.com/zx/2009/08/mysql-connector-jar-not-found-the-fix/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 12:23:44 +0000</pubDate>
		<dc:creator>rishi</dc:creator>
				<category><![CDATA[MyEclipse]]></category>

		<guid isPermaLink="false">http://rishistar.com/zx/?p=60</guid>
		<description><![CDATA[Whilst setting up the MySQL Connectivity in MyEclipse, this error message cropped up. mysql connector jar not found Simple fix is to get it from the MySQL website!]]></description>
			<content:encoded><![CDATA[<p>Whilst setting up the MySQL Connectivity in MyEclipse, this error message cropped up.</p>
<p>mysql connector jar not found</p>
<p>Simple fix is to get it from the <a href="http://dev.mysql.com/downloads/connector/j/5.1.html">MySQL</a> website!</p>
]]></content:encoded>
			<wfw:commentRss>http://rishistar.com/zx/2009/08/mysql-connector-jar-not-found-the-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

