[Angular 6 + Spring Boot] #26 Deploy Angular Apps on Tomcat

preview_player
Показать описание
Create Java web applications with Angular 6 and Spring Boot

In this episode you will learn how to deploy and run an Angular application on a dedicated Tomcat server. You will find out:
- how to create the deployment artifacts using ng build
- how to parametrize various URIs to make your app deployment ready
- how to host the Angular application in Tomcat

Source code

_______

Check out the latest software programming articles on my blog, where you will find lots of software development tutorials that will sharpen your programming skills

_______

Say hi on social

#angular #springboot #spring #java #webapplication #angular6 #angulartutorial #angularspringboot
Рекомендации по теме
Комментарии
Автор

Can't express how much thankful I am to you. This is what I was looking for.

SAIKRISHNA-yfqy
Автор

Thanks a lot for these tutorials, earlier I had taken 50 hours course for Spring Boot on Udemy but the course just used all my hours and at the end of the day I had nothing. In just 2 weeks, I was able to build a working example to integrate Spring boot and Angular, I changed the java code though to support Java 8. Thanks a ton :) Waiting for more tutorials.

alrightymedia
Автор

Hi, It was a brilliant work! Thank you very much for the course it was very-very helpful!

lekseich
Автор

I m so thankful for this amazing tutorial. It's really helped me

eng.abdallahgad
Автор

thanks a lot, this helped me very much, very comprehensive :)

pioInducer
Автор

Thank for the tutorial, This tutorial was very simple and very clear to understand the basics of Angular and Spring boot <3

SamanSarafraz
Автор

This video is very helpful thank u so much

annabhore
Автор

course. i love it. can you explain spring boot angular security, JWT Social logir and etc too. :) thans for videos. you are awesome

devabra_com
Автор

Amazing!, thanks for the video. A quick question, can we deploy the angular project in the Tomcat root folder? Instead of creating a folder? In case I just want to access to the tomcat root server path? thanks!

danpr
Автор

How about deploying a spring boot API along with an Angular front end in a VPS server?

j.d.sevilla
Автор

Excellent video thank you very much. a query ... when updating from the browser or calling loation.reload (), I get an error 404. How can I fix it? sorry for my English

fabrydx
Автор

Hi Dan,
When I try to start the /noteitservice onto tomcat, I get the following error: -

FAIL - Application at context path [/noteitservice] could not be started
FAIL - Encountered exception Failed to start component

THE_RISING_SUN
Автор

Hi i have created project in visual studio and copy build project in static folder of spring boot project which is in eclipse... Now it's working with local but giving error 404 with tomcat and also giving error with websphere as well... Could you suggest something

DeepakKumar-kzdz
Автор

I can't understand how your app is working when you have /noteit/noteit/notes and in your routing you have path:'notes'. I got a simple app with one component. Routing: path:'predict', comp:GetPredictionComponent, path:' ', comp:GetPredicitionComponent, match:'full'. Folder name in server: /loan, base url:"loan". Clicking on /loan in my server sends me to localhost:8080/loan/loan and I receive "Cannot match any routes. URL segment: 'loan'

iHelperRo
Автор

Really a great job here... thank you for sharing all this. What about copying the Angular dist folder content in the "resource/static" Spring Boot folder? And than build the war from Maven and deploy only this on Tomcat? It should work even without changing Angular root url.

MisterKey
Автор

Thanks for all the cool lessons. It has all worked great so far, except for this last lesson. The first load of the webpage works fine. However, when I reload, I get a 404 error. After sending feedback I also get a 404 error because it automatically reloads. I think it has something to do with the routing, but I don't know how to fix it.
Oh, and also, to make the database persist, add these two properties to application.properties:
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto

lukesedillo
Автор

my jboss server folder doesn't have webapp folder, what needs to be done?

cautioni
Автор

Why i am getting the cfgApiBaseUrl undefined ?

rahultiple
Автор

Can you make a tutorial about react + spring boot?

turgutturkmen
Автор

Thanks for the tutorials. Why aren't you using Docker for deployment?

zakachou