Questions tagged [spring-roo]

Spring Roo is a lightweight tool aimed at developer productivity. Via an intuitive command line interface it supports operations such as Java web project creation, persistence configuration and view scaffolding. Roo creates a Java web project that uses the Spring framework, and leverage some best well known practices in Java development such as dependency injection, aspect oriented programming, object/relational mapping (O/RM).

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

Where Can I Download Spring Roo Since There's No Download Button on the Official Site?

I'm interested in downloading Spring Roo for an old project, but I've noticed that the official Spring Roo website doesn't seem to have a direct download button or link. I've checked the website ...
Cape_LeadWort's user avatar
0 votes
0 answers
49 views

Spring Roo dependencies, status: 405 Not Allowed

Hello i have this problem, when i launch : mvn clean install Downloading from spring-roo-repository-release: http://repo.spring.io/spring-roo/org/springframework/roo/wrapping/org.springframewo rk.roo....
Cape_LeadWort's user avatar
0 votes
1 answer
230 views

Spring roo won't work on Apple M1 with Java 11

I have a nice new Apple M1 machine. I was quite happy to toddle along with Java 8, but Eclipse wanted Java 11 so I have updated to Java 11. The problem with Spring roo originated in Eclipse ...
mwarren's user avatar
  • 2,439
2 votes
0 answers
332 views

Not able to download Spring Roo

I tried downloading Spring Roo from their official website, but nothing happens once I click on the download button. It loads for a few seconds and nothing happens. I am sure there isn't any network ...
Hrishikesh Jha's user avatar
-1 votes
1 answer
161 views

Alternative for spring-roo repository

Any alternative for https://repo.spring.io/spring-roo? apparently today is down: { "errors" : [ { "status" : 404, "message" : "Not Found" } ] }
Vei Jar's user avatar
  • 118
0 votes
1 answer
455 views

Why Installing Roo Support fails on Eclipse IDE for Enterprise Java Developers 2020-09 (4.17.0) Build id: 20200910-1200 with STS 4.8.0

Tried installing Spring-Roo support from: Spring IDE - http://dist.springframework.org/release/IDE/ Fails with: Cannot complete the install because one or more required items could not be found. ...
Nebojsa VULIN's user avatar
0 votes
1 answer
196 views

Getting Error "Found: int64, expected: integer" while Migrating Java application with Hibernate from DB2 to BigQuery

I am trying to migrate a Java application backend from DB2 to BigQuery but getting a datatype mismatch error. In DB2 as well as BigQuery field type is defined as INTEGER, but behind the scene INTEGER ...
Rajat's user avatar
  • 19
1 vote
0 answers
40 views

java.time support for Spring Roo?

Is the Java 8 java.time api supported in Roo 2.00? If not, is there a tutorial on how to manually swap out java.util.time/date apis and replace with java.time? Any plans to support this in the future? ...
MaybeWeAreAllRobots's user avatar
1 vote
1 answer
54 views

Populating users and roles in Spring Roo with Springlets JPA

I'm at the end of a prototyping exercise. Done security setup --provider Springlets_JPA Current status - I get a banner with default user and admin with auto-generated passwords in the console. I'm ...
aaaaarrrgghhh's user avatar
0 votes
0 answers
38 views

Enum set in spring Roo

I've an Enum, and a class that could refer to multiple constants in that enum. enum type --class ~.model.Vertical enum constant --name PUBLICSECTOR --class ~.model.Vertical enum constant --name ...
aaaaarrrgghhh's user avatar
0 votes
1 answer
34 views

Spring Roo errors in Roo_Service_Impl.aj

In the domain model, Category that has a ManyToOne relation with Tag entity, and Tag has ManyToOne with OfferingDetail. I'm getting these errors in the TagServiceImpl_Roo_Service_Impl.aj file: The ...
aaaaarrrgghhh's user avatar
0 votes
1 answer
922 views

Problem installing Spring Roo in STS 4.6.1

I've tried both STS 4.5.1 and STS 4.6.1, but unable to install the Spring IDE Roo Support Extension from the Nightly software site. Error Log shows this error: Spring IDE Roo Support 3.9.13....
aaaaarrrgghhh's user avatar
1 vote
0 answers
123 views

How to rebuild thymeleaf output with Spring Roo after editing .ftl files?

In the Spring Roo reference documentation, we see that web mvc templates setup Includes view generation templates on current project. Will allow developers to customize view generation by ...
J E Carter II's user avatar
1 vote
1 answer
87 views

Spring Roo. Deleting .aj archives without generating new ones

I have installed the Roo Shell 2.0.0.RELEASE in my eclipse. I have never worked with Roo, but, as I understood, it will regenerate the .aj files of my imported roo project when I modify something in ...
David Mateos Valencia's user avatar
0 votes
1 answer
37 views

How to make a mvc html field disabled?

I have a create.html form that has fields generated from my spring roo 2.0 domain model: <div class="form-group has-error has-feedback" data-z="790e58b4" id="consultation-prediction-field" data-th-...
Chris Snow's user avatar
0 votes
1 answer
239 views

Spring Tools Suit 4 and Spring roo

I cannot create Spring Roo project is Spring tools Suit 4. Do I need to install a plugin? I tried to install Spring Roo plugin from Eclipse market place but no user. Please Help.
Jafar Ali's user avatar
  • 1,094
0 votes
0 answers
26 views

ROO looking for Bundles in wrong folder

I have downloaded Spring roo 2.0.0. First I extracted the bundle in download folder itself. Ran it for testing and then transferred the bundle to different Folder. I have also added this new folder to ...
Jafar Ali's user avatar
  • 1,094
1 vote
0 answers
49 views

Show ID on Crud Screen with Spring Roo

I want to show the Id as well on CRUD Screens with Spring Roo. New to Spring Roo,Wanted to know is it possible or not. package com.roopoc.domain; import java.io.Serializable; import ...
JAK's user avatar
  • 59
0 votes
1 answer
139 views

Can I be able to run my Spring roo project developed in STS with Roo version 1.3.1 in the latest version of Roo

We have developed a Spring roo project in STS with roo 1.3.1. I have now updated my STS to the latest version and installed roo 2.0.0 in it. When I try to import the existing roo project does not ...
MPK's user avatar
  • 105
2 votes
0 answers
1k views

ERROR The method getId() is undefined for the type

I have an application which use AspectJ and Spring Roo. I have no experience with these technologies. During a building by Maven (3.3.9 ) I got an error in a console: im@im:~/projects/maintenance$ ...
Max Gabderakhmanov's user avatar
0 votes
1 answer
3k views

WebLogic 12.2.1.3.0 deployment issue (weblogic.application.naming.EnvironmentException: Unable to find injection target named)

I've got an issue deploying a spring roo app onto WebLogic. Works fine in Websphere and Tomcat but WebLogic seems to be having difficulties. I've gotten the app deployed on a prior 12c weblogic ...
user2796509's user avatar
0 votes
1 answer
152 views

Impossible to install Spring Roo 2 in macOS Mojave 10.14

I was trying to install Spring Roo 2.0.0.RELEASE in macOS Mojave 10.14 (Java 11) in STS IDE with no success. In STS (3.9.7.RELEASE) the error while adding IDE Extension 'Spring Roo (current ...
P. Nikitin's user avatar
2 votes
0 answers
426 views

Spring ROO 2.0 & STS Java Version

Spring Roo 2.0 documentation shows 2 different recommended Java Versions. https://docs.spring.io/spring-roo/docs/current/reference/html/#getting-started-requirements shows Java 7 as recommended and ...
user3558229's user avatar
0 votes
3 answers
560 views

Spring Roo project. Project build error: Failed to execute goal

I create a project based on the code from the site roo> project setup --topLevelPackage com.foo roo> jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY roo> entity jpa --class ~....
Vladimir Madorin's user avatar
0 votes
1 answer
44 views

Spring ROO - Generate jsp files directly instead of jspx templates

I'm relatively new to spring-roo I want to make roo generate jsp files directly instead of jspx files. My final intention is to modify roo generated JSP files by using scriplets (Though it is not the ...
Charudatta Joshi's user avatar
0 votes
1 answer
94 views

Spring Roo Detail Object

I'm using Spring roo v2.0. I created a simple app with two entities: Library and Book. A Library can have more books so I created a relashionship one-to-many. I used the following command to create ...
Jane's user avatar
  • 27
1 vote
1 answer
158 views

Spring Roo Generating Unknown Domain Model

I have just started to use Spring Roo and I am encountering issues when generating a simple project with an entity. I am following a write up from DZone. DZone How to generate spring boot application ...
Richard Payne's user avatar
0 votes
1 answer
589 views

Roo's 'database' command not found (for DBRE)

Upfront, I'm a Spring Roo newby. When I try to use Roo's 'database' command to reverse engineer beans from my database, Roo cannot find that command: roo> database Command 'database' not found (...
Wilko's user avatar
  • 3
0 votes
2 answers
481 views

Spring Roo Setup on Mac

I have been reading about Spring Roo and am very fascinated to try it out as it will reduce a lot of manual data entry type of job for my team. But the installation is really killing me. I used STS ...
Tanzil Khader's user avatar
0 votes
1 answer
147 views

spring-roo 2.0 Spring Webflow Persistence Best Practise

I am having troubles with persisting an entity in a web flow with Spring Roo 2.0.0.RC2. With Roo 2.0, I have generated an application which shall register a user at the end of a webflow. Here are my ...
Netboy's user avatar
  • 5
0 votes
1 answer
111 views

Spring Roo Generated list.html, generate all fields

when Spring roo generates list.html files for an entity, spring roo is not generating table column tags for every entity field, only for the first 5 fileds. I'm using Spring-roo RC02. How can I ...
baker's user avatar
  • 1
0 votes
0 answers
646 views

Autocompletion of AspectJ not working in eclipse with spring roo 2 project

I created a Spring Roo project using spring-roo-2.0.0.RC2 and imported it into eclipse. The project starts up and works fine, but when I try to access some methods from the roo generated aspectJ-files ...
cly's user avatar
  • 31
1 vote
1 answer
397 views

Spring security and username/password autofill in navigator

I've generated the following JSP spring security code for login form using Roo and gvnix addon. Authentication works fine but I can't get login autofill in navigators (Firefox, IE). they just propose ...
Franck Raveau's user avatar
0 votes
0 answers
2k views

Error Installing Spring IDE Roo Support on Oxygen

I am taking a course on Sprint Boot that uses Eclipse Oxygen 14.0 so I downloaded that version (also tried latest Oxygen & got similar error). Error is as follows; Cannot complete the install ...
Paul's user avatar
  • 47
1 vote
1 answer
79 views

Spring Roo example on main page does not work

I installed Spring Roo. But when I try the script at the bottom of the Roo's main page, project setup --topLevelPackage com.fooI have this error: You cannot specify option 'topLevelPackage' when ...
Pierre Thibault's user avatar
0 votes
0 answers
487 views

Is it possible to install older version of Spring Roo in STS?

I'm using STS to work on an old project that uses Spring Roo. I installed Roo from the STS dashboard and that seemed to work fine, but since the current version of Roo is higher than the one used on ...
Developer Guy's user avatar
2 votes
1 answer
3k views

How can get the object in thymeleaf select option?

Here in autocomplete I get the Product name as expected. I want to do some calculation based on the product selected. But in doCalculation function i'm getting id instead of 'price'. So calculation ...
Gnik's user avatar
  • 7,190
1 vote
1 answer
137 views

Spring Roo 2 deployment

After following the instructions web Roo site: mkdir hello cd hello roo.sh roo> project setup --topLevelPackage com.foo roo> jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY roo&...
mdinic's user avatar
  • 75
0 votes
0 answers
200 views

How to modify the UI in the spring roo application to add finder?

I have a working CRUD application that I reverse engineered by pointing to existing DB using Spring Roo 1.3.2. I was also able to add some finder methods in the domain class and also modified the ...
Nital's user avatar
  • 5,834
0 votes
2 answers
350 views

Roo 2.0 How to change Hibernate from Create to Update with no persistence.xml

I am ready to deploy my application to production and went to find the persistence.xml to change from create to update so the data is persisted....wait, no persistence.xml How do I make that change?
Mike Oliver's user avatar
2 votes
0 answers
93 views

The embedded key is not showing in the forms

I'm using Spring Roo 2.0.0.RC1. I have a table that has a composite key of two strings. So I defined the PersonId entity : @RooToString @Embeddable @RooSerializable @RooIdentifier(dbManaged = true) ...
Zakaria's user avatar
  • 15k
0 votes
1 answer
147 views

Spring Roo 2 : 404 when running the sample web app

I've downloaded Spring Roo 2.0.0 RC1 along with Spring Tools Suite 3.9 on OS X. I created an empty project then run the following command to import the PetClinic sample : script --file clinic.roo ...
Lemon's user avatar
  • 3
0 votes
1 answer
64 views

is there a roo 2.0 log4j add-on or example

Is there a log4j add-on for roo 2.0 I see the tomcat has a log4j properties but nothing in roo to setup logging like the older version.
Mike Oliver's user avatar
-1 votes
1 answer
34 views

In Roo 2.0 I want to use JPA Query Method

I plan on writing a query method like /** * TODO Auto-generated method documentation * * @param entity * @return EventExecute */ @Transactional @Autowired public EventExecute save(EventExecute ...
Mike Oliver's user avatar
0 votes
1 answer
29 views

when I try to add a second field set to an entity it doesn't show in the screens

I have six entities and I want to create two field sets from one to two others. One field set is ONE_TO_MANY and I used field set in the ONE side to build the relation and the other is a MANY_TO_MANY ...
Mike Oliver's user avatar
0 votes
1 answer
332 views

is there an example of a Roo application that interacts with external REST services for lookup and/or validation

I have a Roo 2 application with 6 jpa entities. One of those entities needs to fetch data from an external REST service and update another REST service before writing the final entity to the DB. My ...
Mike Oliver's user avatar
-3 votes
1 answer
186 views

Where is the webmvc-config.xml located in spring roo

I have created a spring roo application and it doesn't have a "webmvc-config.xm" located under "practice2\src\main\webapp\WEB-INF" . I am really stuck and i have no idea how to proceed . I am using ...
user1150082's user avatar
1 vote
1 answer
524 views

Not able to create repository in spring roo

After painful installation of spring roo . I am trying to create a project . However after making a pojo via spring shell i am now creating the spring repository . I ran the following commands for ...
user1150082's user avatar
0 votes
1 answer
420 views

Spring Roo 2.0.0.RC1 Security Configuration- adding user and role

I ran below roo command after adding my controller, security setup I saw that the command created couple of tables in mySql database like login_role,user_login,user_login_role. Now when I am ...
DeepakR's user avatar
0 votes
1 answer
40 views

With Roo 2.0 I don't find web.xml so how do I configure Spring MVC

I have been a Spring developer for some time and I have tried Roo in the past, and read through the improvements to Roo in 2.0 I used it to build a Web Application that works fine...to a point. But ...
Mike Oliver's user avatar

1
2 3 4 5
26