Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3787416
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:50:17+00:00 2026-05-19T11:50:17+00:00

I am working in a biggish Maven/Java project and cannot make sense of an

  • 0

I am working in a “biggish” Maven/Java project and cannot make sense of an error I am getting when running the app (it compiles OK). The error code I get is:

java.lang.NoClassDefFoundError: Could not initialize class com.sun.management.OperatingSystem
  at com.sun.management.OSMBeanFactory.getOperatingSystemMXBean(OSMBeanFactory.java:30)
        at sun.management.ManagementFactory.getOperatingSystemMXBean(ManagementFactory.java:100)
        at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:308)
        at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
        at com.sun.xml.internal.ws.server.JMXAgent.<init>(JMXAgent.java:49)
        at com.sun.xml.internal.ws.server.JMXAgent.getDefault(JMXAgent.java:77)
        at com.sun.xml.internal.ws.server.WSEndpointImpl.<clinit>(WSEndpointImpl.java:84)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)

From the look of it, it seems the VM is not finding the “com.sun.management.OperatingSystem” class, but after googling around I cannot find out where is that class supposed to be located.

Any hints?

EDIT: Running with JRE JDK 1.6.0_18 (JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:50:17+00:00Added an answer on May 19, 2026 at 11:50 am

    It might not be what’s causing your problem, but errors like the one you are seeing can sometimes occur when the JDK is stored under “Program Files”. Java doesn’t like spaces in the filesystem path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on a new app and using restful-authentication. I was trying to make it
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
Working with H2 I get this error when I try to write a row
Working on my first Rails project, I used Ryan Bates' Nifty-Generators to create the
Working in an app where a page_title method was defined in application_helper.rb as such:
Working on calling a C function from my asm project. I'm trying to push
Working on an old Kohana 2 project and I want to link two models.
Working with Json, how can I NSlog only the title in this code: NSDictionary
Working in Java: I have a JFrame class, and separate classes for my two
Working on my first Android app and facing a challenge. I am pulling calls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.