File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Mar 13, 2009
Mar 17, 2009 08:21:01
i am using "ScheduledExecutorService" in
program but i am getting this error
MyScheduledExecutorService.java:7: cannot access
bad class file: ./ScheduledExecutorService.java
file does not contain class
Please remove or make sure it appears in the correct subdirectory of the classpath.
scheduler = Executors.newScheduledThreadPool(1);
What should i do
Joined: Oct 08, 2006
Mar 17, 2009 08:32:32
The class file is corrupted or not correctly updated. Recompile and redeploy the stuff.
Author and ninkuma
Joined: Jan 10, 2002
Mar 17, 2009 17:33:58
Or did you compile it at all?
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Servlet Error
Scheduling task execution in defined intervalls
Getting a memory leak on ScheduledExecutorService
Compiling result.jsp (page 89 HFSJ)
How to add actionListener to ScheduledExecutorService?
The requested resource is not available
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014