I trying to use spring mvc template, the wizard windows says 'requires downloading' but next button is disabled. I dont know what to do.
Just type in a project name in the field (on the top of the dialog). Then the Next button will be enabled.
Related
Currently we developing a web application on we use spring framework, this application contains several modules, so we chose to put all the configuration in a module named "shared-module" when we using the IDE we can specify the propority file of profile but when we try to launch this application outside of IDE we can not point to the correct property file.
Application strucuture:
shared-module--(injected)-->application.jar
See Externalized Configuration properties order described here. This documentation have clear description of supported application and profile specific properties. Please provide additional information if it does not address specific scenario you've problem with.
I want to add a new menu to spring batch admin,
I have gone through the docs but not helpful, can anyone please help me with an example also where to put FTL files for that menu.
Thanks in advance
Your question is far too open ended.
HERE is an example of how to customize spring-batch admin.
Be advised that spring batch admin is at end of life and the last milestone release has quite a few issues in its POM dependencies. You'll need liberal use of maven exclude elements to get it to compile without a ton of dependency conflicts.
End Of Life Announcement
Per the above you should look into "Spring Cloud Data Flow" instead of spring-batch-admin. I have not used this yet, but the maven issues in the milestone release were a huge pain. Honestly I never did get it to work the way I wanted.
All that said your FTL files go in the webapp/WEB-INF/web directory tree.
Good luck
To add a menu in SBA, you need to develop following components:
A class that extends the BaseMenu (Class implementing the SBA menu interface).
A Controller class handling the request issued on click of you menu
A View bean
A Freemarker template implementing the view.
Template files are looked at WEB-INF/web. Place your template file under WEB-INF/web/ftl.
New to BIRT, started 3 days back.
Requirement
Will have REPORTING menu in the existing web application, which will give option to choose the type of report(pdf and chart(drilled down also))
and generate the selected chart with the mentioned date.
What I had done so far
Tried stand-alone report application using sample database.
created a birt rest service, but not sure how to feed data to that.
Calrification required
Do I need to create a template using report design eclipse plugin and an application which is a spring boot where I can connect to
database using hibernate and feed the template with data or is there any better approach in this?
My application consists of REST API and the client will consume it. So what will be the return type of the birt web service? Is it a byte stream?
To run BIRT on existing tomcat server, Do I need any other libraries.
Has been referred a lot of articles regarding BIRT, really stuck at integrating with an existing application. Thanks in advance
I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev, springsource, and codejava
All of those tell me use STS as the IDE and to go for New Project - Spring Template Project - Spring MVC Project.
Though in my case, using the version 3.6.1.RELEASE of STS, I can NOT find any Spring MVC Project options there.
Do you have the same issue using STS?
p.s.
I found the solution here for previous version of STS, though it not works for version 3.6.1.
Seeing no MVC template snapshot.
I've just solved the problem. These are my way:
- Go to New Project -> Spring Project. For first use, only show "Simple Project" folder.
- Select Configure templates.. (blue link).
- In Template Projects window, delete "spring-data-gemfire" and "spring-integration", and check "Show self-hosted templates ..." (at bottom), and then press Apply -> OK
- Just wait while refreshing process, and "Spring MVC Project" should be showed.
Step:1-Go to File->New
Step:2-Click on Spring Legacy Project
Step:3-see a Templates Box, scroll it down you will find Spring Mvc Project
Firstly File -> New Project -> Spring -> Spring Legacy project & finally select what you want. also refer attached images.
As user #AndrewEisenberg suggested here, viewing the Error Log gives me the errors as below
Connection to https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml failed on Connection to https://raw.github.com refused. Retry attempt 0 started
Connection to https://raw.github.com/SpringSource/spring-data-gemfire-sts-templates/master/builds/descriptor.xml failed on Connection to https://raw.github.com refused. Retry attempt 0 started
So having a close look at the error in Error Log, by Windows - Show View - Other - Error Log, after calling File - New Project - Spring Project, I see the cause for this symptom.
It causes by the internet connection which cannot reach https://raw.github.com
Try this
New Project -> Spring Project -> Spring MVC Project
File->New-->Spring Legacy Project----> scroll down to Spring Mvc Project
I want created a portlet (JSF) with ajax but doesn't render.
The example I tried this example of IBM http://www.ibm.com/developerworks/rational/library/06/1205_kats_rad2/, but not run in WebSphere Portal only in WAS. (New Dynamic Web Project)
I search in many forums, and solution is change "Classloader mode" from "PARENT_FIRST" to "PARENT_LAST", i cant find this Classloader in project file, I tried change in server but a wasn't work.
Please give me a simple example who I created a portlet JSF with AJAX or who change Classloader mode to resolve this problem.
Greetings, João Sousa
Joao,
in project/package explorer right click on J2EE and select Open WebSphere Application Server Deployment. Deployment settings editor will be opened. Now scroll down to Application section. Now you can switch between PARENT_LAST & PARENT_FIRST.
Bogdan.