skip to Main Content

Docker – Kubernetes doesn't find a jar file

I'm using this Dockerfile configuration FROM openjdk:17-alpine ARG APP_HOME=/app WORKDIR $APP_HOME COPY ./target/ws-exec.jar ws.jar ENV JAVA_OPTS="-Dspring.profiles.active=prod -Dspring.application.name=words" ENTRYPOINT java $JAVA_OPTS -jar ./ws.jar $JAVA_ARGS After deploying it to minikube, I see the only log: Error: Unable to access jarfile /ws.jar. I've…

VIEW QUESTION

How to handle a ModelAndView object with JavaScript in HTML?

i have a controller that returns a ModelAndView, this controller is called with this script: document.getElementById('history-equipment').addEventListener('click', function(event) { event.preventDefault(); // Prevent the default anchor tag behavior (e.g., navigating to a new page) const url = '/View/Student/History'; // Replace with your…

VIEW QUESTION
Back To Top
Search