我正在安装hibernate空间,以下是官方网站文档中的步骤:
http://www.hibernatespatial.org/tutorial-hs4.html
问题在于图书馆的依赖性
为什么找不到图书馆:
postgis-jdbc:jar:1.5.3:编译
在官方网站上查找此库的版本:
http://postgis.refractions.net/download/
但不可用
终端上显示的消息如下:
[warn] http://scala-tools.org/repo-releases/org/postgis/postgis-jdbc/1.5.3/postgis-jdbc-1.5.3.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.postgis#postgis-jdbc;1.5.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Run Code Online (Sandbox Code Playgroud)
任何人都知道我如何解决这种依赖
非常感谢您的关注
我想将项目上传到存储库,但问题是,当我运行命令时:
$ git push -u origin master
Run Code Online (Sandbox Code Playgroud)
它向我展示了如下内容:
Username:
Password:
error: The requested URL returned error: 403 while accessing https://github.com/sanxelsanto/books3.git/info/refs
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能避免这样的错误信息?
我正在用reactivemongo做测试
在我的控制器中我有这个:
package controllers
import models._
import models.JsonFormats._
import play.modules.reactivemongo.MongoController
import scala.concurrent.Future
import reactivemongo.api.Cursor
import org.slf4j.{LoggerFactory, Logger}
import javax.inject.Singleton
import play.api.mvc._
import reactivemongo.api.collections.default.BSONCollection
import reactivemongo.bson._
@Singleton
class Users extends Controller with MongoController {
private final val logger: Logger = LoggerFactory.getLogger(classOf[Users])
val collection = db[BSONCollection]("users")
// list all articles and sort them
def list = Action.async { implicit request =>
// get a sort document (see getSort method for more information)
val sort = getSort(request)
// build a selection document with …Run Code Online (Sandbox Code Playgroud)