You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was writing a program to invoke a process and return the PID using PIDUtils. But when I tried to obtain the PID I received the below exception
Caused by: java.lang.NoClassDefFoundError: org/zeroturnaround/process/win/Kernel32
at org.zeroturnaround.process.PidUtil.getPidfromHandle(PidUtil.java:145)
at org.zeroturnaround.process.PidUtil.getPidfromWin32Process(PidUtil.java:135)
at org.zeroturnaround.process.PidUtil.doGetPid(PidUtil.java:102)
at org.zeroturnaround.process.PidUtil.getPid(PidUtil.java:90)
at org.me.processexecutor.ProcessInvoker.call(MNXZeroTurnaround.java:53)
at org.me.processexecutor.ProcessInvoker.call(MNXZeroTurnaround.java:1)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered:
I was writing a program to invoke a process and return the PID using PIDUtils. But when I tried to obtain the PID I received the below exception
Caused by: java.lang.NoClassDefFoundError: org/zeroturnaround/process/win/Kernel32
at org.zeroturnaround.process.PidUtil.getPidfromHandle(PidUtil.java:145)
at org.zeroturnaround.process.PidUtil.getPidfromWin32Process(PidUtil.java:135)
at org.zeroturnaround.process.PidUtil.doGetPid(PidUtil.java:102)
at org.zeroturnaround.process.PidUtil.getPid(PidUtil.java:90)
at org.me.processexecutor.ProcessInvoker.call(MNXZeroTurnaround.java:53)
at org.me.processexecutor.ProcessInvoker.call(MNXZeroTurnaround.java:1)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered: