Comments (6)
Hi @ProfEibe ,
Thanks for using the plugin, and reporting the issue.
Can you please, provide all the parameters you set when generating the app? (i.e application name, build type, java version, etc)
from nxrocks.
This is the whole part in the console:
> Executing task: npx nx generate @nxrocks/nx-spring-boot:project --name=SGNennungen-Rest --artifactId=SGNennungen-Rest --dependencies=web --descriptionwarzgold --packageName=at.schwarzgold.sgnennungen.rest --no-interactive <
Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=maven-project&language=java&name=SGNennungen-Rest&groupId=at.schwarzackageName=at.schwarzgold.sgnennungen.rest&javaVersion=11&packaging=jar&dependencies=web&description=SGNennungen-Rest...
Extracting Spring Boot project zip to 'C:\Users\Jakob\IdeaProjects\nennungen-rest/apps/sgnennungen-rest'...
The string contains invalid characters.
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npx nx generate @nxrocks/nx-spring-boot:project --name=SGNennunRest --dependencies=web --description=SGNennungen-Rest --groupId=at.schwarzgold --packageName=at.schwarzgold.sgnennungen.rest --no-interactive" terminat
or like this in interactive mode:
C:\Users\Jakob\IdeaProjects\nennungen-rest>nx g @nxrocks/nx-spring-boot:new
√ What name would you like to use? · SGNennungen-Rest
√ What kind of project are you generating? · application
√ Which build system would you like to use? · maven-project
√ Which packaging would you like to use? · jar
√ Which version of Java would you like to use? · 11
√ Which language would you like to use? · java
√ What groupId would you like to use? · at.schwarzgold
√ What artifactId would you like to use? · SGNennungen-Rest
√ What package name would you like to use? · at.schwarzgold.sgnennungen
√ What is the project about? · SGNennungen-Rest
√ What dependencies would you like to use (comma separated)?
👉 Go to https://start.spring.io/dependencies to get the ids needed here · web
Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=maven-project&language=java&name=SGNennungen-Rest&groupId=at.schwarzgold&artifactId=SGNennungen-Rest&packageName=at.schwarzgold.sgnennungen&javaVersion=11&packaging=jar&dependencies=web&description=SGNennungen-Rest...
Extracting Spring Boot project zip to 'C:\Users\Jakob\IdeaProjects\nennungen-rest/apps/sgnennungen-rest'...
The string contains invalid characters.
from nxrocks.
Thanks for the detailed log output.
Unfortunately, I cannot reproduce the issue with the parameters you provided...
Could you try generating an app without changing the default parameters of the generator (i.e by just pressing "Enter" at each prompt)? Also, what version of NodeJS are you using? (node --version
)
from nxrocks.
Hm sadly the same problem.
Maybe it is, because the generated springboot-app would be the first in this repository?
Because creating one in an nx-workspace where already an angular-app exists is working without any error. But in an empty nx-workspace I get this error.
Node-Version is 16.14.2
from nxrocks.
I've just noticed you are using a version of Nx (v12) which is not compatible with current version of the nx-spring-boot plugin (v4). See compatibility matrix
Please update your Nx workspace and try again.
Closing the issue for now.
from nxrocks.
Oh... I'm sorry for bothering you. Should have seen this myself.
Maybe someone could build in a check with an speaking error message for this, but it was clearly my fault this time.
Thanks for your support.
from nxrocks.
Related Issues (20)
- [Bug] Nx unable to find fvm despite being present in path HOT 10
- Adopting Nx to SpringBoot MonoRepo's HOT 1
- Run arguments on project level are not pass to ./mvnw spring-boot:run only the ones that are coded to the project.json HOT 5
- [Feature] Configuration Variants HOT 1
- [Feature] (nx-spring-boot) Add Support for Java 21 HOT 2
- [chore] Reduce code smells reported by Sonarcloud
- [Feature] Make sure e2e + smoke tests pass on all OS
- Linking is failing with nx-spring-boot link command [Bug] HOT 1
- [bug] Spring packages are not cached HOT 1
- [Feature] Update plugins to support Nx 17 HOT 14
- [Bug] Support for nx v17.x.x HOT 6
- Executors not working in a multi-module project with more than one level of folders HOT 12
- [Feature] : support java 21 HOT 5
- [Question] Maven dependency management for monorepo libs HOT 16
- [Feature] Run custom Maven commands by nx-spring-boot HOT 2
- [Bug] create-nx-spring-boot fails to run HOT 3
- [Bug] createNodesFor is not a function since @nxrocks/nx-spring-boot 9.3.0 HOT 8
- Cached projects are only restored the "target" folder but not the ~/.m2/repository folder HOT 10
- [Bug] Cannot run any nx command after creating micronaut project HOT 10
- [Bug] Spring boot multi-modules project doesn't work HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nxrocks.