<?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>Chasing Daydreams &#187; websphere</title>
	<atom:link href="http://www.chasingdaydreams.com/tag/websphere/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chasingdaydreams.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 31 Aug 2010 23:20:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WebSphere 6 Error: Unsupported major.minor version 49.0</title>
		<link>http://www.chasingdaydreams.com/2009/12/websphere-6-error-unsupported-major-minor-version-49-0/</link>
		<comments>http://www.chasingdaydreams.com/2009/12/websphere-6-error-unsupported-major-minor-version-49-0/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 05:47:49 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.chasingdaydreams.com/?p=1231</guid>
		<description><![CDATA[I was trying to test a web application in WebSphere 6 when I encountered this error: Error 500: java.lang.LinkageError: LinkageError while defining class: aiu.webservices.bean.ConfigServiceProxy Could not be defined due to: aiu/webservices/bean/ConfigServiceProxy (Unsupported major.minor version 49.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to test a web application in WebSphere 6 when I encountered this error:</p>
<blockquote><p>Error 500: java.lang.LinkageError: LinkageError while defining class: aiu.webservices.bean.ConfigServiceProxy Could not be defined due to: aiu/webservices/bean/ConfigServiceProxy (Unsupported major.minor version 49.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy.  Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature.</p></blockquote>
<p>After a little bit of puzzling and googling, the problem turned out to be that I have been compiling using JDK 1.4. while the WebSphere VM only has Java 1.4. The solution was to Project-&gt;Properties-&gt;Java Compiler-&gt;Compiler Compliance Level to 1.4. And Project-&gt;Properties-&gt;Java Build Path-&gt;Libraries-&gt;JRE System Library-&gt;Alternate JRE to 1.4.</p>
<p>I exported to WAR, updated the application via WebSphere console, and it worked! couldn&#8217;t believe it was that simple :P</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chasingdaydreams.com/2009/12/websphere-6-error-unsupported-major-minor-version-49-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
