<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Opengrok on Saleem Ansari</title>
    <link>/tags/opengrok/</link>
    <description>Recent content in Opengrok on Saleem Ansari</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>(c) 2024 Saleem Ansari</copyright>
    <lastBuildDate>Fri, 15 Oct 2010 00:00:00 +0000</lastBuildDate>
    <atom:link href="/tags/opengrok/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Resolving java.lang.NoClassDefFoundError: java_cup/runtime/lr_parser</title>
      <link>/2010/10/15/resolving-java.lang.noclassdeffounderror-java_cup/runtime/lr_parser/</link>
      <pubDate>Fri, 15 Oct 2010 00:00:00 +0000</pubDate>
      <guid>/2010/10/15/resolving-java.lang.noclassdeffounderror-java_cup/runtime/lr_parser/</guid>
      <description>While building {OpenGrok from source I came across a common error. {OpenGrok also needs JFlex to be present on the classpath as mentioned in the README.TXT file.&#xA;$ sudo yum install jflex $ hg clone ssh://anon@hg.opensolaris.org/hg/opengrok/trunk/ opengrok-dev $ cd opengrok-dev $ CLASSPATH=$CLASSPATH:/usr/share/java/JFlex.jar Compilation failed giving the following error.&#xA;BUILD FAILED java.lang.NoClassDefFoundError: java_cup/runtime/lr_parser at JFlex.anttask.JFlexTask.execute(JFlexTask.java:71) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) I couldn&amp;rsquo;t locate the cause of this error and after struggling a lot, the solution was pretty simple.</description>
    </item>
  </channel>
</rss>
