lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Building on windows
Date Tue, 08 Mar 2011 17:14:48 GMT
I've gotta be overlooking the obvious, but I can't seem to run the
"dist" or "example" targets on my windows 7 machine on a fresh
checkout. The last time I compiled was about three weeks ago, so
things are kind of stale. Here's the problem trace:
    [mkdir] Created dir: C:\apache-trunk-unmodified\solr\build\jsp-temp
2011-03-08 11:51:59 - ERROR-the file '\admin\action.jsp' generated the
following general exception: org.apache.jasper.Ja
sperException: /admin/header.jsp(0,0) Page directive: can't have
multiple occurrences of contentType

org.apache.jasper.JasperException: Error compiling \admin\action.jsp
        at org.apache.jasper.JspC.processFile(
        at org.apache.jasper.JspC.execute(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(

It looks like Jasper (?) is getting confused about ContentType in
included files.... Any off-the-top-of-your-head ideas? I don't want
anyone to take time out for this, but did want to mention it in case
it's something we should be aware of for the upcoming release. I can
get along just fine with artifacts from the nightly build.

I can run tests from inside Idea, which isn't too surprising as this
error looks related to packaging the web app, so I'm able to make
progress, so please don't waste any time on it if it's my problem,
stale jars, or any other such nonsense.....

I have jasper 4.1.36 in my ant directory, and some unversioned jasper
compiler and runtime in my \classtest\tomcat\common\lib directories
(probably from a Solr distro?). More unversioned jasper
compiler/runtime in the jetBrains directories (for Idea ?).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message