Giter Club home page Giter Club logo

vaadin-microservices-demo's Introduction

Microservices with Vaadin demo

A microservices demo implemented with Spring Cloud Netflix and Vaadin.

If you are using Vaadin 8, checkout the vaadin-8 branch.

Building the demo

Run the following from the command line:

git clone https://github.com/alejandro-du/vaadin-microservices-demo.git
cd vaadin-microservices-demo
mvn package

Running the demo

Use multiple (seven) terminals to perform the following steps:

1) Start the discovery-server application (Eureka app):

cd vaadin-microservices-demo/discovery-server
java -jar target/discovery-server-0.0.1-SNAPSHOT.jar

2) Start the config-server application (Spring Cloud Config app):

cd vaadin-microservices-demo/config-server
java -jar target/config-server-0.0.1-SNAPSHOT.jar

3) Start an instance of the biz-application microservice (REST app):

cd vaadin-microservices-demo/biz-application
java -jar target/biz-application-0.0.1-SNAPSHOT.jar

4) Start an instance of the admin-application microservice (Vaadin app):

cd vaadin-microservices-demo/admin-application
java -jar target/admin-application-0.0.1-SNAPSHOT.jar

5) Start an instance of the news-application microservice (Vaadin app):

cd vaadin-microservices-demo/news-application
java -jar target/news-application-0.0.1-SNAPSHOT.jar

6) Start an instance of the website-application microservice (Vaadin app):

cd vaadin-microservices-demo/website-application
java -jar target/website-application-0.0.1-SNAPSHOT.jar

7) Start the proxy-server application (Zuul app):

cd vaadin-microservices-demo/proxy-server
java -jar target/proxy-server-0.0.1-SNAPSHOT.jar

Using the demo

1) Point your browser to http://localhost:8080.

You'll see the website-application embedding the admin-application and the news-application microservices.

This is the "edge service" implemented with Netflix Zuul. It acts as a reverse proxy, redirecting requests to the website-application, news-application, and admin-application instances using a load balancer provided by Netflix Ribbon with a round robin strategy.

If you get a "Server not available" message, please wait until all the services are registered with the discovery-server (implemented with Netflix Eureka).

2) Add, update, or delete data.

Latest tweets from the companies you enter on the left (the admin-application) will be rendered on the right (the news-application).

The admin-application, and news-application instances (implemented with Vaadin) delegate CRUD operations to the biz-application (implemented with Spring Data Rest) using a load balancer (provided by Netflix Ribbon) with a round robin strategy.

3) Add microservice instances.

You can horizontally scale the system by starting more instances of the biz-application, admin-application, news-application, and website-application microservices. Remember to specify an available port (using -Dserver.port=NNNN) when you start a new instance.

4) Test high-availability.

Make sure you are running two instances of the admin-application. Click the + (Add) button and enter Vaadin as the name, and vaadin as the Twitter Username. Don't click the Add button yet.

Stop one of the instances of the admin-application and click the Add button. The web application should remain functional and save the data you entered without losing the state of the UI thanks to the externalized HTTP Session (implemented with Spring Session and Hazelcast).

5) Test system resilience.

Stop all the instances of the biz-application microservice and refresh the browser to see the fallback mechanisms (implemented with Netflix Hystrix) in the admin-application and news-application microservices.

Developing

You don't need to have all the infrastructure services running (discovery-server, config-server, and proxy-server) in order to develop individual microservices (biz-application, admin-application, news-application, and website-application). Activate the development Spring profile to use a local configuration (application-development.properties) that excludes external orchestration services.

For example, during development you can run the biz-application microservice using:

cd vaadin-microservices-demo/biz-application
java -Dspring.profiles.active=development -jar target/biz-application-0.0.1-SNAPSHOT.jar

With the admin-application, and news-application you need the REST web-service provided by the biz-application. You can either, run the biz-application in development mode or create a mock REST web service. You can configure the end point with the biz-application.url property in the application-development.properties.

vaadin-microservices-demo's People

Contributors

alejandro-du avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vaadin-microservices-demo's Issues

Webpack Error

I tried to follow the tutorial, but already got stuck trying to start the initial services after cloning the repo. All seven services have started up correctly, but when I try to access localhost:8080, I get the following errors below. I have already run npm install and update npm to the latest version. No luck.
(running on Mac OS 12.1 with Node 10.3.0 and OpenJDK 11.0.1)

ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/VaadinDevmodeGizmo.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 7:0-53
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector-es6.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 8:0-56
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 72:0-52
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector-es6.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 9:0-59
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 73:0-55
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/datepickerConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 10:0-54
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector-es6.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 11:0-51
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 74:0-47
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/flow-component-renderer.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 12:0-58
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector-es6.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 13:0-52
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 75:0-48
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector-es6.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 14:0-56
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 76:0-52
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListStyles.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 15:0-49
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/menubarConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 16:0-51
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/selectConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 77:0-50
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/timepickerConnector.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 17:0-54
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-big-decimal-field.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 18:0-59
ERROR in ../target/frontend/generated-flow-imports.js
Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-grid-flow-selection-column.js' in '/Users/me/Dev/vaadin-microservices-demo/website-application/target/frontend'
@ ../target/frontend/generated-flow-imports.js 19:0-68

Errors starting admin-application

Hi,

Thx for your awesome vaadin microservice tutorial.
I was trying to run the demo as suggested, discovery, config & bizApplication started without issues,
but got some npm related errors in admin-application.
Do you know how to solve these errors?

Thx & br,
Julian
Attached the errors from starting admin-application:

`2021-04-28 15:24:20.211 INFO 164890 --- [ main] dev-updater :

Failed to find the following imports in the node_modules tree:
- @vaadin/flow-frontend/datepickerConnector.js
- @vaadin/flow-frontend/contextMenuConnector-es6.js
- @vaadin/flow-frontend/comboBoxConnector.js
- @vaadin/flow-frontend/VaadinDevmodeGizmo.js
- @vaadin/flow-frontend/ironListConnector.js
- @vaadin/flow-frontend/timepickerConnector.js
- @vaadin/flow-frontend/comboBoxConnector-es6.js
- @vaadin/flow-frontend/ironListStyles.js
- @vaadin/flow-frontend/selectConnector.js
- @vaadin/flow-frontend/vaadin-big-decimal-field.js
- @vaadin/flow-frontend/contextMenuConnector.js
- @vaadin/flow-frontend/gridConnector.js
- @vaadin/flow-frontend/flow-component-renderer.js
- @vaadin/flow-frontend/gridConnector-es6.js
- @vaadin/flow-frontend/dndConnector-es6.js
- @vaadin/flow-frontend/ironListConnector-es6.js
- @vaadin/flow-frontend/menubarConnector.js
- @vaadin/flow-frontend/vaadin-grid-flow-selection-column.js
- @vaadin/flow-frontend/dndConnector.js
If the build fails, check that npm packages are installed.

To fix the build remove pnpm-lock.yaml and node_modules directory to reset modules.
In addition you may run pnpm install to fix node_modules tree structure.
Make sure first that pnpm command is installed, otherwise you should install it using npm: npm add -g [email protected]

2021-04-28 15:24:20.228 INFO 164890 --- [ main] dev-updater : No js modules to update '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend/generated-flow-imports.js' file

------------------ Starting Frontend compilation. ------------------
2021-04-28 15:24:20.842 INFO 164890 --- [ main] dev-webpack : Running webpack to compile frontend resources. This may take a moment, please stand by...
2021-04-28 15:24:26.146 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.154 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/VaadinDevmodeGizmo.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.154 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 7:0-53
2021-04-28 15:24:26.155 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.155 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.155 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 8:0-56
2021-04-28 15:24:26.155 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.156 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/comboBoxConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.156 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 72:0-52
2021-04-28 15:24:26.156 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.156 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.156 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 9:0-59
2021-04-28 15:24:26.157 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.157 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/contextMenuConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.157 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 73:0-55
2021-04-28 15:24:26.157 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.158 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/datepickerConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.158 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 10:0-54
2021-04-28 15:24:26.158 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.158 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.158 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 11:0-51
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/dndConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 74:0-47
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/flow-component-renderer.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.159 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 12:0-58
2021-04-28 15:24:26.160 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.171 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.172 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 13:0-52
2021-04-28 15:24:26.172 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.172 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/gridConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.172 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 75:0-48
2021-04-28 15:24:26.172 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.173 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector-es6.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.173 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 14:0-56
2021-04-28 15:24:26.173 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 76:0-52
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/ironListStyles.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 15:0-49
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.174 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/menubarConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.175 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 16:0-51
2021-04-28 15:24:26.175 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.175 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/selectConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.177 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 77:0-50
2021-04-28 15:24:26.177 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.178 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/timepickerConnector.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.178 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 17:0-54
2021-04-28 15:24:26.178 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.178 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-big-decimal-field.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.178 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 18:0-59
2021-04-28 15:24:26.179 ERROR 164890 --- [ webpack] dev-webpack : ERROR in ../target/frontend/generated-flow-imports.js
2021-04-28 15:24:26.181 ERROR 164890 --- [ webpack] dev-webpack : Module not found: Error: Can't resolve '@vaadin/flow-frontend/vaadin-grid-flow-selection-column.js' in '/home/developer/happy-space/workspace/vaadin-microservices-demo/admin-application/target/frontend'
2021-04-28 15:24:26.183 ERROR 164890 --- [ webpack] dev-webpack : @ ../target/frontend/generated-flow-imports.js 19:0-68
2021-04-28 15:24:26.184 ERROR 164890 --- [ webpack] dev-webpack : ℹ 「wdm」: Failed to compile.
2021-04-28 15:24:26.184 ERROR 164890 --- [ webpack] dev-webpack :
------------------ Frontend compilation failed. -----------------
`

How to use PreserveOnRefresh

I was wondering if you know how to use PreserveOnRefresh with the demo? Seems like Spring session is breaking it?

issue running discovery server

Hi Alejandro,

I downloaded your microservices application. I have java and Maven. When I try to run java -jar target/discovery-server-0.0.1-SNAPSHOT.jar in the command window(I'm using Windows 8.1), I'm getting an error: java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present

I tried putting in

javax.xml.bind jaxb-api 2.3.0 in the pom.xml file but still getting the same error.

Have you seen this before?

Randy

org.vaadin.crudui.crudui 4.3.2 not available ?

in vaadin-microservices-demo/admin-application/pom.xml
org.vaadin.crudui.crudui request 4.3.2-SNAPSHOT

Only 4.3.1 seems available and running with 4.3.1 throw a "Caused by: java.io.NotSerializableException: org.vaadin.crudui.form.AbstractAutoGeneratedCrudFormFactory$$Lambda$1486/0x0000000800daa040"

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.