12

After uninstalling JRebel from Eclipse Kepler (on Ubuntu 12.04), when I try to run my web app on server I get the following error:

'Starting Tomcat v7.0 Server at localhost' has encountered a problem. Reference to undefined variable jrebel_args.

How can I remove this reference?

Javide
  • 2,477
  • 5
  • 45
  • 61

2 Answers2

47

Double click the server, click on Open launch configuration link; in the Arguments tab, under VM arguments, it has a ${jrebel_args} variable defined there. Remove it.

The Student
  • 27,520
  • 68
  • 161
  • 264
Anton Arhipov
  • 6,479
  • 1
  • 35
  • 43
  • 1
    Winner. For future reference, the Launch Configuration in Eclipse Kepler is under Run -> Run Configurations. – Javide Jun 29 '13 at 23:33
  • 2
    Double click server in Server's Tab. Choose open launch configuration. Remove ${jrebel_args:org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 7 [1.7.0_67]} or what not. – Joseph Juhnke Sep 17 '14 at 16:12
0

In my case I still wasn't able to open the Open launch configuration menu, so I had to remove the server and add it again to eclipse. Now everything is fine again.

Igni
  • 11
  • 1