• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Creating a servlet using scala in eclipse

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am new to scala. just started learning scala. I just wanted to create a Hello world servlet using scala.

I just followed these steps.

1) created a dynamic web project
2) in the .project did the below mentioned changes. After which i got 'S' on the top of the project instead of 'J'
3) Created a scala class with the below code.
4) added the entry in web.xml.
But I am getting HTTP 500 ===> java.lang.ClassNotFoundException: HelloServlet

.project file

scala class

web.xml

index.html

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic