Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8841955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:50:42+00:00 2026-06-14T10:50:42+00:00

I have one PlayfFamework 2.x’ (PF2) default scala project (htc-sample) and depended default PF2

  • 0

I have one PlayfFamework 2.x’ (PF2) default scala project (htc-sample) and depended default PF2 scala project (htc) like was shown here:

http://www.playframework.org/documentation/2.0/SBTSubProjects

But I got one ERROR with routes when trying to launch the main project. Like this:

[info] Compiling 5 Scala sources and 1 Java source to
~/projects/sample-htc/modules/htc/target/scala-2.9.1/classes…
[error]
~/projects/sample-htc/modules/htc/target/scala-2.9.1/src_managed/main/views/html/main.template.scala:23:
not found: value routes [error] Any),format.raw/*8.94*/(“”””>

What is the procedure to work with subprojects regarding to routes?

—

I guess I found the answer: it is impossible to do.. in play v.2.0. Because of this statement:

“You may want to split a large project into several smaller applications, or even extract some logic into a standard Java or Scala library that has nothing to do with a Play application“. But does it mean that the subproject could not be a play projects with routes file? it can depend on another Play application.

But there is another statement: “it can depend on another Play application.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:50:44+00:00Added an answer on June 14, 2026 at 10:50 am

    Currently there’s a limitation on play framework 2 regarding routes and subprojects

    Have a look at these threads

    https://groups.google.com/forum/#!msg/play-framework/O-lI0PsxM0U/fwHWylZoPpoJ

    https://groups.google.com/d/msg/play-framework/Tr8NhKaHmiw/0_kY1z3OfAAJ

    It’s already solved in play 2.1 trunk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have one time consuming step that flattens a bunch of files. basically i'd like
I have one problem with parsing *.docx document with OpenXML (C#). So, here's my
I already have some simple project with one migration script: # --- !Ups create
I have one data model 'object' with fields->object_id, object_name. That is: http://localhost:3000/objects/ I have
I have one spinner in my project where values comes from database and displays
I have one dropdownlist in my c# code behind page like `DropDownList dl =
I have one test project for each project in my solution. Is there a
I have one iPhone with the name of Sample in my device. I did
I have one div wrapping another like so <div id=container><div id=box></div></div> Let's say the
I have one route that looks like this: Router::connect('/Album/:slug/:id',array('controller' => 'albums', 'action' => 'photo'),array('pass'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.