You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/10/14 06:57:49 UTC

[GitHub] [incubator-seatunnel] dzzxjl opened a new issue, #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

dzzxjl opened a new issue, #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   Error when executing `mvn clean package`
   ```
   [ERROR] D:\oss\incubator-seatunnel\seatunnel-connectors\seatunnel-connectors-spark\seatunnel-connector-spark-email\src\main\scala\org\apache\seatunnel\spark\email\sink\DataLocator.scal
   a:122: error: Symbol 'term org.openxmlformats' is missing from the classpath.
   [ERROR] This symbol is required by 'method com.norbitltd.spoiwo.natures.xlsx.Model2XlsxConversions.convertTableColumns'.
   [ERROR] Make sure that term openxmlformats is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
   [ERROR] A full rebuild may help if 'Model2XlsxConversions.class' was compiled against an incompatible version of org.
   [ERROR]     sheetName(existingWorkbook).foldLeft(WriteSheet(rows = dataRows))(_ withSheetName _)
   [ERROR]                                                                      ^
   [WARNING] one warning found
   [ERROR] one error found
   ```
   
   ### SeaTunnel Version
   
   2.1.3-SNAPSHOT
   
   ### SeaTunnel Config
   
   ```conf
   no additional configuration files
   ```
   
   
   ### Running Command
   
   ```shell
   mvn clean package
   ```
   
   
   ### Error Exception
   
   ```log
   [ERROR] D:\oss\incubator-seatunnel\seatunnel-connectors\seatunnel-connectors-spark\seatunnel-connector-spark-email\src\main\scala\org\apache\seatunnel\spark\email\sink\DataLocator.scal
   a:122: error: Symbol 'term org.openxmlformats' is missing from the classpath.
   [ERROR] This symbol is required by 'method com.norbitltd.spoiwo.natures.xlsx.Model2XlsxConversions.convertTableColumns'.
   [ERROR] Make sure that term openxmlformats is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
   [ERROR] A full rebuild may help if 'Model2XlsxConversions.class' was compiled against an incompatible version of org.
   [ERROR]     sheetName(existingWorkbook).foldLeft(WriteSheet(rows = dataRows))(_ withSheetName _)
   [ERROR]                                                                      ^
   [WARNING] one warning found
   [ERROR] one error found
   ```
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   ![企业微信截图_16657305642897](https://user-images.githubusercontent.com/6430442/195782128-b1c374cf-34d6-4c65-a62c-90642c601e83.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] dzzxjl commented on issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
dzzxjl commented on issue #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100#issuecomment-1278674197

   > mvn clean install -Dmaven.test.skip=true try it
   
   i try it and still meet the same problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] dzzxjl commented on issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
dzzxjl commented on issue #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100#issuecomment-1278573744

   i find the similar question, https://github.com/sbt/sbt/issues/3187, but i don't know how to fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] dzzxjl closed issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
dzzxjl closed issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.
URL: https://github.com/apache/incubator-seatunnel/issues/3100


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] s7monk commented on issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
s7monk commented on issue #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100#issuecomment-1278577602

   mvn clean install -Dtest.skip.test=true  try it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] liugddx commented on issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
liugddx commented on issue #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100#issuecomment-1279630831

   Refer to https://stackoverflow.com/questions/42327777/spark-sql-errors


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] dzzxjl commented on issue #3100: [Bug] [seatunnel-connector-spark-email] error: Symbol 'term org.openxmlformats' is missing from the classpath.

Posted by GitBox <gi...@apache.org>.
dzzxjl commented on issue #3100:
URL: https://github.com/apache/incubator-seatunnel/issues/3100#issuecomment-1279766127

   > Refer to https://stackoverflow.com/questions/42327777/spark-sql-errors
   
   it works. Thanks a lot.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org