This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes ERROR :not a known variable in the current context Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "ERROR :not a known variable in the current context" Watch "ERROR :not a known variable in the current context" New topic
Author

ERROR :not a known variable in the current context

Noopur Kore
Ranch Hand

Joined: Aug 18, 2012
Posts: 77

I'm getting error while debbuging on my catch(Exception e)

on e it says "e = >"e" is not a known variable in the current context.<" .

Can someone explain me this?
No other error on servlet.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5575

Could you post more of the code, perhaps the whole method? Also, exactly which line are you getting the error on? I suspect that 'e' is out of scope where it is being used, or perhaps you have 'e' declared twice, but without seeing more of the code it is hard to tell.


JBoss In Action
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: ERROR :not a known variable in the current context
 
Similar Threads
JAXB: Two xsd - Create single JAXBContext
open sessions vs cuurent session
Problem with code
Assignment doubt
Accessing instance variable inside static reference.