Question:
Error in using PHPword to generate word:
Fatal error: Uncaught error: Class ‘PHPWord_Writer_Word2003’ not found in D:\ phpStudy_Pro \WWW\newword\ phpWord \ phpWord \ iofactory.php :110 Stack trace: #0 D:\ phpStudy_Pro \WWW\newword\ DEMO (132): PHPWord_IOFactory::createWriter(Object(PHPWord), ‘Word2003’) #1 {main} Thrown in D:\ phpStudy_Pro \WWW\newword\ PHPWord\ PHPWord\ PHPWord\ iofactory.php on line 110
Solutions:
The word version that should be used with you is concerned, I change Word2003 here 2007 can be used normally!
— — the END — —
Read More:
- (-2:Unspecified error) could not find a writer for the specified extension in function‘cv::imwrite_
- Solving word experienced an error trying to open the file in word
- Error: the main class usertest could not be found or loaded
- [Solved] Spark Writer tidb Error: read-uncommitted is not supported
- PHP:Fatal error: Class ‘COM’ not found in … How to deal with the problem
- Class file for com.sun.beans.introspect.propertyinfo not found
- Idea startup project: main class not found or cannot be loaded
- FreeMarker generates word file, and word file cannot open the solution.
- Fatal error in PHP project: class’ redis’ not found
- PHP Fatal error: Uncaught Error: Class ‘\Elasticsearch\Serializers\SmartSerializer‘ not found in /h
- The main class could not be found or loaded when springboot started
- Error: (21,13) Java: symbol not found: class order location: interface mapper.ordermapper
- The main class com.hp.springbootapplication cannot be found or loaded
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- Python failed to use PIL writer library. TTF, etc. oserror: cannot open resource
- About WLW (Windows Live Writer): “unable to connect to your log service: invalid server response” solution
- IntelliJ idea error: package not found or symbol not found
- com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class
- In thinkphp5, we encountered the problem of class’ phpoffice / phpspredsheet / spreadsheet ‘not found
- Solve the problem of slow startup of word2019