ryuugan / scalaqa Goto Github PK
View Code? Open in Web Editor NEWcircumflex tutorials: design of "Questions and Answers" site using circumflex
Home Page: tutorials.circumflex.ru
circumflex tutorials: design of "Questions and Answers" site using circumflex
Home Page: tutorials.circumflex.ru
I just tried the source you have modified, and now there is still an error when I submitting a question:
HTTP ERROR 500
Problem accessing /ask. Reason:
E:\scalaqa-sbt\target\scala_2.8.1\webapp\public\uploads\sdf (?????)
Caused by:
java.io.FileNotFoundException: E:\scalaqa-sbt\target\scala_2.8.1\webapp\public\uploads\sdf (?????)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at ru.circumflex.tutorials.Main$$anonfun$4.apply(main.scala:51)
at ru.circumflex.tutorials.Main$$anonfun$4.apply(main.scala:32)
at ru.circumflex.web.Route.dispatch(router.scala:88)
at ru.circumflex.web.Route.update(router.scala:96)
at ru.circumflex.tutorials.Main.<init>(main.scala:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
When I did is type sdf
to the text fields of username, title, body
, then click submit button.
I have tried this project, and found when I submit a question, it throws errors.
It's in the main.scala, post("/ask/?")
, it has such errors:
The itemStream
is an instance of FileItemStream
, not FileItem
Expect you can fix it, and I have build a sbt-version from this project, named scalaqa-sbt
, please see: https://github.com/freewind/scalaqa-sbt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.