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

  • Home
  • SEARCH
  • 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 7405193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:21:55+00:00 2026-05-29T05:21:55+00:00

I am using lein 1.6.2 on Ubuntu 1.04, and have created a bare project.

  • 0

I am using lein 1.6.2 on Ubuntu 1.04, and have created a bare project. I can’t figure out why I’m getting the

“No namespaces to :aot compile listed in project.clj.”

error when I enter lien compile.

project.clj

(defproject amr_db "1.0.0-SNAPSHOT"
  :description "FIXME: write description"
  :dependencies [[org.clojure/clojure "1.3.0"]
                [korma "0.2.1"]])

core.clj (so far)

(ns amr_db.core
  (:gen-class))

How do I clear the warning?

  • 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-05-29T05:21:57+00:00Added an answer on May 29, 2026 at 5:21 am

    add a line like this to your project.clj

    :main amr_db.core
    

    you may also want something like this if the compiled jars are not main.

    :aot [amr_db.core amr_db.another_example]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just getting started with clojure. I'm using leiningen and can't figure out why my
I have a lein project (using cascalog--but that's not particularly important). I'm trying to
I'm using lein to manage my project, and I have a number of :dependencies
I have a project with three subprojects like so (using lein-sub ): (defproject trident
Where's it set ? I'm using Lein REPL and the LaClojure REPL, I can't
I've created a simple example using: %> lein new lein-check I've only modified the
Using Tsql, how can I find out when MS SQL server was installed?
I am asking this question to straighten out a confusion I have about project.clj
I have recently started out with clojure, and I am using leiningen to create
I have a unique build situation. I am using lein uberwar to build a

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.