Giter Site home page Giter Site logo

Comments (14)

christophs78 avatar christophs78 commented on July 22, 2024 1

You had this issue with MyFaces (because org.apache.myfaces.application ...)?
Did it also happen with Mojarra?
(I can look into this issue on the upcomming weekend.)

from primefaces.

melloware avatar melloware commented on July 22, 2024

@Rapster @christophs78 need your help on this one not sure if its something new with Jetty 12 and Mojarra 4.0 with the showcase or what?

from primefaces.

melloware avatar melloware commented on July 22, 2024

it doesn't look like it happens with Mojarra that I can tell.

from primefaces.

tandraschko avatar tandraschko commented on July 22, 2024

can't replicate

windows11, JDK21, CMD without IDE

from primefaces.

melloware avatar melloware commented on July 22, 2024

Without IDE

Environment

C:\dev\primetek\primefaces\primefaces-showcase>mvn --version
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: C:\tools\apache-maven-3.9.5
Java version: 17.0.6, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17.0.6+10
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

I will try and come up with exact steps. It seems to be random.

from primefaces.

Rapster avatar Rapster commented on July 22, 2024

The problem looks more something related to compilation than JSF impl. Something must have gone wrong when you compiled PF?

from primefaces.

melloware avatar melloware commented on July 22, 2024

SO I tink i narrowed it down. I run mvn -Ddev in a command line console window. I am browsing code in my IDE, if I make a change to code somehow Jetty is "watching" and tries to redeploy and gets this error. It doesn't seem to happen with Mojarra though.

from primefaces.

Rapster avatar Rapster commented on July 22, 2024

change in showcase code or PF code?

from primefaces.

melloware avatar melloware commented on July 22, 2024

I think its when I change anything in Eclipse? But not always. But that stack trace is always the same.

from primefaces.

melloware avatar melloware commented on July 22, 2024

Ahh there is is just edit any showcase XHTML file you will see it happen. Which makes working with the showcase very frustrating.

from primefaces.

Rapster avatar Rapster commented on July 22, 2024

Not sure I follow, but since Eclipse has his own compiler, could it be the cause? see also https://stackoverflow.com/a/1124806

I don't reproduce the issue running mvn -Ddev on showcase with IntelliJ

from primefaces.

melloware avatar melloware commented on July 22, 2024

And you can edit a showcase XHTML file?

Basically Jetty is just watching our /src/main/webapp directory so i should be able to make an XHTML change and then reload the page while the Showcase is running. I have always been able to do that until now.

from primefaces.

melloware avatar melloware commented on July 22, 2024

OK now i see a message with [INFO] Automatic redeployment disabled, see 'mvn jetty:help' for more redeployment options

But our PrimeFaces Test project has this...

<scan>5</scan>

so i had that in the showcase. if I remove that I now see [INFO] Automatic redeployment disabled, see 'mvn jetty:help' for more redeployment options but I can still edit XHTML pages.

from primefaces.

Rapster avatar Rapster commented on July 22, 2024

I have that warning without changing anything... And yes I can edit a showcase XHTML file

from primefaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.