Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] I can't seem to find compilerfmt.AnnotationInfo

Thank you!

On Tue, Dec 14, 2021, 4:17 PM Jan Bartel <janb@xxxxxxxxxxx> wrote:
Mike,

Yes, you will need the ecj compiler.  The Apache Jasper engine requires it. But, I see from your pom.xml that you are using the org.eclipse.jetty.apache-jsp artifact, and that pom will have the correct ecj jar as a dependency, so you should have everything you need on the classpath.

I see you are using Apache Jasper JarScanner - as we don't use that in jetty I can't comment on whether it works or not in this environment.

If you are trying to make an executable jar, it could be possible that Jasper does not like classpaths containing jars within jars, certainly that used to be the case.

Jan

On Mon, 13 Dec 2021 at 03:38, Mike Croteau <croteau.mike@xxxxxxxxx> wrote:
Do I need jdt? Any help would be most appreciated.

On Sun, Dec 12, 2021 at 5:02 AM Mike Croteau <croteau.mike@xxxxxxxxx> wrote:
Forgive me, I don't understand. I am very new with embedded jetty. Thank you.

On Sun, Dec 12, 2021 at 4:58 AM Mike Croteau <croteau.mike@xxxxxxxxx> wrote:
I don't believe I am using ecj, I wouldn't even know where to begin. How would I precompile the jsps when they are serving dynamic data? I'm not understanding. Thank you.

On Sun, Dec 12, 2021 at 4:27 AM Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
Eclipse ECJ is for environments where you don't have a javac in your JVM, and you are using JSPs.

Option 1, If you are always running on an OpenJDK environment, ECJ is not needed.
Option 2, precompile your JSPs before you package your JAR and you won't need ECJ or Javac. (see jetty-jspc-maven-plugin, but i'm not sure how to make that plugin work with embedded style of packaging, so you might need to just use the generic jspc during your compile)

Joakim Erdfelt / joakim@xxxxxxxxxxx


On Sun, Dec 12, 2021 at 5:49 AM Mike Croteau <croteau.mike@xxxxxxxxx> wrote:

Greetings, I am working on a project where I would like to run jetty embedded. I veered off the path a little and am now having problems. I can't seem to find:


org.eclipse.jdt.internal.compilerfmt.AnnotationInfo


Here is the project. 


http://216.238.79.140:8080/git/root/dirty.git


Forgive me, this is not a plug but I am attempting to write a web framework to work with embedded jetty. So you will need it as well 


http://216.238.79.140:8080/git/root/QioEE.git


It started out the project needed the mail dependency, so I fussed with that and finally just removed jndi altogether. I am new, and to be honest don't know anything really about it so I hope that I didn't do something that would work against me.


I'm using the assembly plugin to create a runnable fat jar. I haven't figured out why I am running into so many dependency issues. Any ideas? Any help would be most appreciated. 


Thank you.


Sincerely,

Mike

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-dev
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-dev
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-dev


--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
Expert assistance from the creators of Jetty and CometD

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-dev

Back to the top