Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1534

It is impossible to run FreeForm sample code in profiler using ant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      It is impossible to run project when following steps here:

      http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2325/v/1

      Application doesn't start - it looks like class name is not properly resolved.

      ant -f /Users/michalo/Downloads/FreeForm/nbproject/ide-targets.xml profile-nb
      profile-nb:
      Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 18)
      Profiler Agent: Established connection with the tool
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.netbeans.lib.profiler.server.ClassLoaderManager to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
      WARNING: Please consider reporting this to the maintainers of org.netbeans.lib.profiler.server.ClassLoaderManager
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      Profiler Agent: Local accelerated session
      Profiler Agent: Initializing...
      Profiler Agent: Options: >/Users/michalo/opt/netbeans/profiler/lib,5140,10<
      Profiler Agent: Initialized successfully
      Profiler Agent: 250 classes cached.
      Profiler Agent: 250 classes cached.
      Profiler Agent: 250 classes cached.
      Profiler Agent: 250 classes cached.
      Profiler Agent: 250 classes cached.
      Error: Could not find or load main class ${mainclass}
      Caused by: java.lang.ClassNotFoundException: ${mainclass}
      Profiler Agent: Connection with agent closed
      Profiler Agent: Connection with agent closed
      Java Result: 1
      BUILD SUCCESSFUL (total time: 8 seconds)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkowsiak Michal Owsiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: