On 5 Jan 2025, at 2:16 pm, Theodore Petrosky wrote:
> jvmOptions=--add-exports java.base/sun.security.action=ALL-UNNAMED
> --add-exports java.base/sun.util.calendar=ALL-UNNAMED
>
> Trying to debug (as a WOApplication):
> [2025-1-4 22:36:42 EST] java.lang.IllegalAccessError: class
> com.webob
This is weird, I just went back and tried to debug the Battery app again and I
got:
Error: Could not find or load main class com.eltek.Battery.app.Application
Caused by: java.lang.ClassNotFoundException: com.eltek.Battery.app.Application
That’s all. Nothing more!!!
> On Jan 4, 2025, at 10:46 P
No Joy, 😓
Create new app called “Battery” with maven:
This is my build.properties:
principalClass = com.eltek.Battery.app.Application
project.name = Battery
customInfoPListContent =
project.name.lowercase = battery
webXML = false
webXML_CustomContent =
classes.dir = target/classes
jvmOptions=--a
Hi Ted,
On 5 Jan 2025, at 12:08 pm, Theodore Petrosky via Webobjects-dev
wrote:
> [2025-1-4 20:34:15 EST] java.lang.IllegalAccessError: class
> com.webobjects.foundation.NSTimeZone (in unnamed module @0x462496c8) cannot
> access class sun.security.action.GetPropertyAction (in module java.bas
(Different than WOs of course)
Of course I could have said my Woes with WO.
Please I need some guidance……..
There is no Webobjects of any flavor on the machine. I downloaded java:
java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM