简体   繁体   中英

play framework offline distribution

I want to work with play framework in my office. Unfortunately I don't have access to network in my work. I tried to download the play offline distribution but I get an error:

local: tried D:\\Users\\dan.ivy2\\local\\org.fusesource.jansi\\jansi\\1.11\\ivys\\ivy.xml unresolved dependency: org.fusesource.jansi#jansi;1.11: not found Error during sbt execution: Error retrieving required libraries

There is a way to run play framework without internet connections?

The first time you run play you need an internet connection in order to resolve all dependencies.

Then, if you want to work offline, you can add

offline := true

in you build.sbt, this will prevent play from trying to fetch the latest dependencies online and should solve your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM