skip to Main Content

I am working mostly in notepad. developed many projects in core java and servlets with Tomcat but don’t know how to deploy a Gradle project. I am trying to configure https://github.com/ex3ndr/telegram-api. Please assist me

Thanks in anticipation

2

Answers


  1. Chosen as BEST ANSWER

    This link fixed my problem http://www.mkyong.com/spring-mvc/gradle-spring-mvc-web-project-example/

    I have downloaded the gradle package set its path to bin folder and build the package by studying the aforementioned link as to how gradle works

    Thanks All


    1. Create war file for your project.

    2. Stop the server(not mandatory)

    3. Copy that .war file to your tomcat webapps folder.

    4. Start the server(After starting one folder with your war file name
      will be created).

    5. Open localhost:8080/<war name>

    That’s it

    Note: This is common process for all not only for gradle, 8080 port may vary(By Default tomcat ll take 8080).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search