Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

struts emerge failure

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
kwantm
n00b
n00b
Posts: 3
Joined: Tue Jun 22, 2004 8:06 am

struts emerge failure

  • Quote

Post by kwantm » Thu Jun 24, 2004 12:40 pm

hi.

Iam trying to emerge the struts libs, but Iam getting an error:

Code: Select all

[javac] /var/tmp/portage/struts-legacy-1.0/work/struts-legacy-1.0-src/src/java/org/apache/struts/legacy/GenericDataSource.java:75: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.LogFactory;
    [javac]                                   ^
    [javac] /var/tmp/portage/struts-legacy-1.0/work/struts-legacy-1.0-src/src/java/org/apache/struts/legacy/GenericDataSource.java:275: cannot resolve symbol
    [javac] symbol  : class Log
    [javac] location: class org.apache.struts.legacy.GenericDataSource
    [javac]     protected Log log = LogFactory.getLog(this.getClass());
    [javac]               ^
    [javac] /var/tmp/portage/struts-legacy-1.0/work/struts-legacy-1.0-src/src/java/org/apache/struts/legacy/GenericDataSource.java:275: cannot resolve symbol
    [javac] symbol  : variable LogFactory
    [javac] location: class org.apache.struts.legacy.GenericDataSource
    [javac]     protected Log log = LogFactory.getLog(this.getClass());
    [javac]                         ^
    [javac] 4 errors
Now I found the problem that this error causes. Its the build.properties that is used:

Code: Select all

/usr/share/commons-logging/lib/commons-logging.jar
jdbc20ext.jar=/usr/share/jdbc2-stdext/lib/jdbc2_0-stdext.jar
jdk.version=1.4
This is not correct. The key-pair for the commons-logging is incorrect.

My question is: how can I get this error out of the build.properties. If I edit it and try emerge again, it only overwrites my edited file. How can I prevent this?

Regards Marc
Top
Post Reply
1 post • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic