You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/10/08 11:00:57 UTC

DO NOT REPLY [Bug 47961] New: Cannot instantiate XSSFColor with java.awt.Color as argument

https://issues.apache.org/bugzilla/show_bug.cgi?id=47961

           Summary: Cannot instantiate XSSFColor with java.awt.Color as
                    argument
           Product: POI
           Version: 3.5-FINAL
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: mobject@gmail.com


The error message when compile is although all necessary jars set   :

 class file for org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor not
found
         new XSSFColor(new java.awt.Color(128, 0, 128));

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47961] Cannot instantiate XSSFColor with java.awt.Color as argument

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47961

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2009-10-30 09:10:28 UTC ---
Check your classpath and make sure ooxml-schemas-1.0.jar is included.

Use the code below to see the actual path to the jar:

        System.out.println(               
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTColor.class.getProtectionDomain().getCodeSource().getLocation());

On my machine it prints the following line:
file:/D:/java/apache/jakarta-poi/poi/trunk/ooxml-lib/ooxml-schemas-1.0.jar

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org