Jetty environment variables

How to define the jetty environment variable in build.gradle to configure jetty for my project

AnyBody please reply

the jetty plugin does not fork the jvm so you have to define your environment variables used in your jetty app either in the environment where you run gradle from or define them in the gradle start scripts.

cheers, René

Hi Rene , I am getting

an error of

java.lang.NoClassDefFoundError: javax/transaction/UserTransaction

when i run my application on jetty .

However , there is no issue while compiling the codes .

how should i define the class defination for jetty . I know the jar where the class exists.

Any body please reply

I am unable to run my project on jetty server

I have added

webAppDirName = ‘WebContent’

all my Jsp files are in the WebContent folder but my jetty server is unable to run them . The error message i am getting is

java.lang.NoClassDefFoundError: javax/transaction/UserTransaction

Please help