This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes StandardEmitterMBean Compile Error in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "StandardEmitterMBean Compile Error in Eclipse" Watch "StandardEmitterMBean Compile Error in Eclipse" New topic

StandardEmitterMBean Compile Error in Eclipse

Bob Harvey

Joined: Oct 23, 2010
Posts: 1
Hello - I'm getting a compile error in Eclipse for the following:

The project was not built since its build path is incomplete. Cannot find the class file for Fix the build path then try building this project IOSv1DataConnector Unknown Java Problem
The type cannot be resolved. It is indirectly referenced from required .class files /mypackage/dataprocessor line 510 Java Problem

I've tried the site jarfinder to no avail.

Rob Spoor

Joined: Oct 27, 2005
Posts: 20080

Welcome to the Ranch, Bob!

Which version of Java are you using? That class is available since Java 6 (a.k.a. 1.6, as can be seen in the Javadoc). If you're using an older version then the class simply doesn't exist yet.

How To Ask Questions How To Answer Questions
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44031
Assuming you are using Java 6, as Rob suggests, you can set Eclipse to use that (or any other) version. If that is the problem, it might be better to discuss that on our IDEs forum, so I shall move this thread.
I agree. Here's the link:
subject: StandardEmitterMBean Compile Error in Eclipse
It's not a secret anymore!