-
Notifications
You must be signed in to change notification settings - Fork 35
Difficulty getting started #57
Description
Hi i am trying to run my first web project. I cloned the project's master followed the instructions on how to write a web app. When I run the app: http://localhost:8080/myapp I get the following error:
javax.servlet.ServletException: Filter execution threw an exception
root cause
java.lang.IncompatibleClassChangeError: Class ru.circumflex.web.Route does not implement the requested interface ru.circumflex.web.RoutingContext
com.myapp.MainRouter.(MainRouter.scala:12)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
ru.circumflex.core.UntypedContainer$class.instantiateObject(circumflex.scala:133)
ru.circumflex.core.Circumflex$.instantiateObject(circumflex.scala:35)
ru.circumflex.core.UntypedContainer$class.instantiate(circumflex.scala:121)
ru.circumflex.core.Circumflex$.instantiate(circumflex.scala:35)
ru.circumflex.core.UntypedContainer$class.instantiate(circumflex.scala:126)
ru.circumflex.core.Circumflex$.instantiate(circumflex.scala:35)
ru.circumflex.web.CircumflexFilter$$anonfun$doFilter$1.apply(filter.scala:126)
ru.circumflex.web.CircumflexFilter$$anonfun$doFilter$1.apply(filter.scala:117)
ru.circumflex.core.Context$.executeInNew(context.scala:126)
ru.circumflex.web.CircumflexFilter.doFilter(filter.scala:117)
Any ideas?
Thanks