Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within IntelliJ IDEA
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
IntelliJ IDEA
Process finished with exit code 100
poornima chinnaraj
Greenhorn
Posts: 8
posted 6 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
I am trying to write a very simple spark application in intellij .I keep getting error "Process finished with exit code 100".Below in my code
import spark.Request;
import spark.Response;
import spark.Route;
import spark.Spark;
import static spark.Spark.get;
public class HelloWorld {
public static void main(
String
[] args){
get("/hello", (req, res) -> "Hello World");
}
}
Ace Me
Greenhorn
Posts: 1
posted 6 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try adding a port before running the GET method
public static void main(String[] args) { port(9000); // code
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
create a simple IDEA theme and earn!
https://coderanch.com/wiki/708971/intellij-idea/ide/IntelliJ-Themes-Contest-Deadline
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Problem running hello world application
Spark - A small and great Java web framework
main class file
how many objects created
How to set value in jtable fields??
More...