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 8940763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:07:42+00:00 2026-06-15T11:07:42+00:00

Given: Upon running mvn clean install JSP compiler jspc reports issues Issues are confirmed

  • 0

Given:

  1. Upon running mvn clean install JSP compiler jspc reports issues
  2. Issues are confirmed real. When deploying code as is (without fixing anything) JSP is broken at runtime
  3. Upon fixing the issues and deploying the application, issues go away

Problem: Fix is not recognized by JSPC

How is JSPC called?

        <plugin>
            <groupId>org.codehaus.mojo.jspc</groupId>
            <artifactId>jspc-maven-plugin</artifactId>
            <configuration>
                <includeInProject>false</includeInProject>
                <sources>
                    <directory>${basedir}/myapp/src/main/webapp/</directory>
                    <includes>
                        <include>**/*.jsp</include>
                    </includes>
                </sources>
                <source>1.6</source>
                <target>1.6</target>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>

            <dependencies>
                <dependency>
                    <groupId>org.codehaus.mojo.jspc</groupId>
                    <artifactId>jspc-compiler-tomcat6</artifactId>
                    <version>2.0-alpha-3</version>
                </dependency>
            </dependencies>
        </plugin>

What errors are reported?

[ERROR] MyClass cannot be resolved to a type

More details about the problem:

Similar question about this here

It seems like a classpath problem, but where in pom can it be set please?

  • 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-15T11:07:43+00:00Added an answer on June 15, 2026 at 11:07 am

    Try adding

    <workingDirectory>${basedir}/myapp/target/classes</workingDirectory>
    

    inside <configuration> tags

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

Sidebar

Related Questions

see this fiddle . This upon running gives an error in console. I'm currently
Sorry another newbie query :| To build upon the suggestion which was given here,
Currently learning Scheme/Racket and have problem running this piece of code. (if (or (<
I'm developing an app for iOS and I'm running into issues with low memory
Given the following Java code: public class Test { static private class MyThread extends
I noticed that an application I was running was throwing exceptions upon simultaneous decryption.
Note: I have given up on compiling iPhone Apps without a developer certificate for
Has MS given up on J# ? We integrate with software currently through a
how can I give an alert when one div hovers over another div upon
Given that the web application doesn't have su privileges, I'd like to execute 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.